Hello,
I'm trying to run spyder with python3 on Xubuntu 14.04.
I am on Python 3.4.3 and I have PyQt4 installed:
which python3
/usr/bin/python3
python3
Python 3.4.3 (default, Aug 5 2015, 16:15:39)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4
>>>
I have PyQt4 4.10.4 from apt-get
apt-cache policy python3-pyqt4
python3-pyqt4:
Installed: 4.10.4+dfsg-1ubuntu1
Candidate: 4.10.4+dfsg-1ubuntu1
And I installed spyder with pip3
pip3 search spyder
spyder - Scientific PYthon Development EnviRonment
INSTALLED: 2.3.5.2 (latest)
However trying to launch spyder gives me an error:
spyder3
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/spyderlib/qt/__init__.py", line 46,
in <module>
from PySide import __version__ # analysis:ignore
ImportError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/spyderlib/requirements.py", line 40
, in check_qt
from spyderlib import qt
File "/usr/lib/python3.4/site-packages/spyderlib/qt/__init__.py", line 48,
in <module>
raise ImportError("Spyder requires PySide or PyQt to be installed")
ImportError: Spyder requires PySide or PyQt to be installed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/spyder3", line 3, in <module>
start_app.main()
File "/usr/lib/python3.4/site-packages/spyderlib/start_app.py", line 114,
in main
from spyderlib import spyder
File "/usr/lib/python3.4/site-packages/spyderlib/spyder.py", line 77, in
<module>
requirements.check_qt()
File "/usr/lib/python3.4/site-packages/spyderlib/requirements.py", line 50
, in check_qt
% (qt_infos['pyqt']+qt_infos['pyside']))
File "/usr/lib/python3.4/site-packages/spyderlib/requirements.py", line 25
, in show_warning
raise RuntimeError(message)
RuntimeError: Please check Spyder installation requirements:
PyQt4 4.6+ (or PySide 1.2.0+) is required.
I'm starting to wonder if I have a problem with my python3 installation.
I'd appreciate any troubleshooting suggestions!
Thanks for reading,
Tom
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.