Collecting psycopg2 xxx ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. sed: 无法打开临时文件 /etc/sedXXFsLF: 权限不够
解决:conda install psycopg2
cannot import name ‘Qsci’ from ‘PyQt5’
解决01:pip install QScintilla
1 2 3 4
依然报错: File "/home/john/PYTHON/vnpy20/vnpy/trader/ui/editor.py", line 4, in <module> from PyQt5 import QtWidgets, Qsci, QtGui ImportError: /home/john/anaconda3/envs/vnpy20/lib/python3.7/site-packages/PyQt5/../../../libQt5Core.so.5: version `Qt_5.13' not found (required by /home/john/anaconda3/envs/vnpy20/lib/python3.7/site-packages/PyQt5/Qsci.so)
报错: File "/home/john/PYTHON/vnpy20/vnpy/trader/ui/editor.py", line 4, in <module> from PyQt5 import QtWidgets, Qsci, QtGui RuntimeError: the sip module implements API v12.0 to v12.6 but the PyQt5.Qsci module requires API v12.7