我正在尝试在python3.5(linux)上使用PyQt5,但在我的一生中,无法获取要导入的模块:
$ python3.5
Python 3.5.1 (default, Apr 10 2016, 14:34:46)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtWidgets
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.5/site-packages/PyQt5/QtCore.so: undefined symbol: PySlice_AdjustIndices
>>> from PyQt5 import QtCore
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.5/site-packages/PyQt5/QtCore.so: undefined symbol: PySlice_AdjustIndices
>>>
但是导入PyQt5是可行的。。。你知道吗
>>> import PyQt5
>>>
我在网上搜了很多遍,但似乎找不到一条出路。你知道吗
任何帮助都将不胜感激!你知道吗
谢谢你, 鲍勃
目前没有回答
相关问题 更多 >
编程相关推荐