运行错误,如图
Closed this issue · 6 comments
hyc1743 commented
我是在Ubuntu的VPS上跑的,为何会出现这种问题?求教
root(@hyc-vps: /app# python main. py
2018-03-0618:57:09,215root[ config]INF:使用配置文件 config.son
Traceback (most recent call Last)
File main. py, Line 10, in <module
from job import jobs -all
File /root/app/job/--init--py, Line 6, in from .bean import Bean
File /root/app/job/bean. py, Line 4, in < module>
from.daka import Daka
File /root/app/job/daka. py, Line 5, in import browser
File /root/app/browser. py, Line 9, in
from Pyqt5. Qtgui import Qicon
Importerror: LIBGL So1: cannot open shared object file: No such file or directory
hyc1743 commented
在Windows电脑下运行正常,成功签到
CaoZ commented
你好,这应该是因为你的 vps 上没有图形环境导致 Qt 不能运行导致的,现在登录京东需要借助内置浏览器,这就需要图形环境了~
azz212 commented
如果用phantomjs 这种浏览器是否可以?
CaoZ commented
@00364291 对那个不太了解哈...