之前安装python-orange还好好地,这次竟然出现如下错误,怎么破?
==> Starting build()...
Traceback (most recent call last):
File "setup.py", line 152, in <module>
orangeqt_setup = imp.load_source('orangeqt_setup', os.path.join(os.path.dirname(__file__), 'source/orangeqt/setup.py'))
File "source/orangeqt/setup.py", line 163, in <module>
site_cfg = site_config()
File "source/orangeqt/setup.py", line 144, in site_config
framework_dir = get("qt", "framework_dir", default=qt_framework_dir)
NameError: global name 'qt_framework_dir' is not defined
==> ERROR: A failure occurred in build().
Aborting...
平生只做一件事,做自己喜欢做的事~
个人网站:www.leafonsword.org
离线
https://aur.archlinux.org/packages/python-orange/ 下面有人回复
Works fines after modification of "orange/source/orangeqt/setup.py" file (line 19):
"
try:
from PyQt4 import pyqtconfig
except ImportError:
pyqtconfig = None
"
with:"
import PyQt4.pyqtconfig
"Other possible solutions to try:
install pyqt4dev
离线