Skip to content

docker下安装出现错误 #1

Description

@banduoba

请问执行下面的命令如下错误怎么解决呢?
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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions