当我在 pycharm(python 3.5)上导入 customplot 时出现以下错误,在命令提示符上尝试导入 sipdistutils,但未找到分发。
使用缓存收集 qcustomplothttps://files.pythonhosted.org/packages/72/a0/d19d35b39b89deca725a5ebcdd0ecfdca358dd17225e6e13a1c7d36c4ec0/qcustomplot-1.3.1-1.tar.gz 命令python setup.py egg_info的完整输出:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\WickedWitch\AppData\Local\Temp\pycharm-packaging\qcustomplot\setup.py", line 5, in <module>
from sipdistutils import build_ext
ImportError: No module named 'sipdistutils'
----------------------------------------
命令“python setup.py egg_info”在 C:\Users\WickedWitch\AppData\Local\Temp\pycharm-packaging\qcustomplot\ 中失败,错误代码为 1