无法在我的Ubuntu中安装rodeo或spyder?

时间:2016-11-23 03:50:02

标签: python ubuntu python-3.5 spyder rodeo

我正在尝试为原生ML / DA工作安装IDE,但两个顶级IDE(spyder和rodeo)都没有安装在我的系统上。 使用python3.5 -m pip install spyder安装的syder 但是当我尝试使用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的空白页面,没有任何反应 - 没有下载。

如何安装&amp;使用这些IDE中的任何一个或通常会使ML / DA更容易工作的东西?

而且我还没有使用像anaconda,jupyter,ipython等其他版本的python。

由于

3 个答案:

答案 0 :(得分:2)

基于https://pythonhosted.org/spyder/installation.html#the-hard-way,可以通过安装建议的PyQt5或Python 3的PyQt4来修复Spyder的“无Qt绑定”错误。在Ubuntu中,您可以通过运行安装PyQt5 :

sudo apt-get install python3-pyqt5

如果您想安装PyQt4,请运行:

sudo apt-get install python3-pyqt4

答案 1 :(得分:1)

我正在使用anaconda。使用pip给出了这个错误。所以我做了以下

pip uninstall spyder
conda install spyder

答案 2 :(得分:0)

要安装Rodeo,您下载的回购已过期。尝试运行以下命令以安装最新版本。它应该自动拾取你的anaconda路径:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 33D40BC6
sudo add-apt-repository -u "deb http://rodeo-deb.yhat.com/ rodeo main"

#### install rodeo and run it
sudo apt-get -y install rodeo
/opt/Rodeo/rodeo