- docker image form LCbot https://github.com/LCTT/LCBot.git
- docker pull osmeteor/pythonlcbot
- docker run -i -t osmeteor/pythonlcbot /bin/bash
- cd /opt/LCBot
- python export_puid.py
- python bot.py
- others -> https://github.com/LCTT/LCBot.git
pythonlcbot
请问执行下面的命令如下错误怎么解决呢?
root@f93b51a68ef4:/opt/LCBot# python export_puid.py Getting uuid of QR code. Downloading QR code. Traceback (most recent call last): File "export_puid.py", line 9, in <module> bot = Bot('bot.pkl', console_qr=False) File "/usr/local/lib/python3.6/site-packages/wxpy/api/bot.py", line 74, in __init__ loginCallback=login_callback, exitCallback=logout_callback File "/usr/local/lib/python3.6/site-packages/itchat/components/register.py", line 30, in auto_login loginCallback=loginCallback, exitCallback=exitCallback) File "/usr/local/lib/python3.6/site-packages/itchat/components/login.py", line 44, in login picDir=picDir, qrCallback=qrCallback) File "/usr/local/lib/python3.6/site-packages/itchat/components/login.py", line 117, in get_QR utils.print_qr(picDir) File "/usr/local/lib/python3.6/site-packages/itchat/utils.py", line 83, in print_qr subprocess.call(['xdg-open', fileDir]) File "/usr/local/lib/python3.6/subprocess.py", line 267, in call with Popen(*popenargs, **kwargs) as p: File "/usr/local/lib/python3.6/subprocess.py", line 707, in __init__ restore_signals, start_new_session) File "/usr/local/lib/python3.6/subprocess.py", line 1326, in _execute_child raise child_exception_type(errno_num, err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'xdg-open'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.