【发布时间】:2017-04-06 22:41:08
【问题描述】:
我正在尝试为本地 ML/DA 工作安装 IDE,但两个顶级 IDE(spyder 和 rodeo)都没有安装在我的系统上。
syder 使用python3.5 -m pip install spyder 安装
但是当我尝试使用 spyder 从终端运行 spyder 时,我收到以下错误:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/qtpy/__init__.py", line 119, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ImportError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/spyder", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/spyder/app/start.py", line 103, in main
from spyder.app import mainwindow
File "/usr/local/lib/python3.5/dist-packages/spyder/app/mainwindow.py", line 49, in <module>
requirements.check_qt()
File "/usr/local/lib/python3.5/dist-packages/spyder/requirements.py", line 39, in check_qt
import qtpy
File "/usr/local/lib/python3.5/dist-packages/qtpy/__init__.py", line 125, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
当我尝试安装 PySide 时,我得到:
only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]
我目前使用python3.5进行分析,使用python2.7进行webdev。
所以我使用python3.5 -m pip uninstall spyder 卸载了 spyder,并尝试使用 pip 和 apt-get 安装 rodeo,但都不起作用。我什至按照here 的解释尝试了sudo dpkg -i install rodeo.deb 并得到以下错误:
dpkg: error processing archive install (--install):
cannot access archive: No such file or directory
dpkg: error processing archive rodeo.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
install
rodeo.deb
尝试从他们的网站 yhat.com 下载 rodeo 会加载一个包含一行 Cannot GET /products/rodeo/downloads/linux64/null 的空白页面,但没有任何反应 - 没有下载。
如何安装和使用这些 IDE 中的任何一个或通常会使 ML/DA 工作更轻松的东西?
而且我还没有玩过 python 的替代版本,例如 anaconda、jupyter、ipython 等。
谢谢
【问题讨论】:
标签: python ubuntu python-3.5 spyder rodeo