Hi all,

I have the same issue that was posted many years ago, but on Ubuntu 14.04.

https://code.google.com/p/spyderlib/issues/detail?id=797

Newbie to python and linux in general, so having trouble figuring it out. 

This is what I get when I start spyder from the command line. Using full 
path returns the same error.

$ spyder
Traceback (most recent call last):
  File "/usr/bin/spyder", line 3, in <module>
    start_app.main()
  File "/usr/lib/python2.7/dist-packages/spyderlib/start_app.py", line 72, 
in main
    from spyderlib import spyder
  File "/usr/lib/python2.7/dist-packages/spyderlib/spyder.py", line 76, in 
<module>
    from spyderlib.qt.QtGui import (QApplication, QMainWindow, 
QSplashScreen,
  File "/usr/lib/python2.7/dist-packages/spyderlib/qt/QtGui.py", line 10, 
in <module>
    from PyQt4.Qt import QKeySequence, QTextCursor  # analysis:ignore
ImportError: cannot import name QKeySequence

Other details:

$ uname -a
Linux sbia-pc84 3.13.0-62-generic #102-Ubuntu SMP Tue Aug 11 14:29:36 UTC 
2015 x86_64 x86_64 x86_64 GNU/Linux

$ python --version
Python 2.7.6

>>> from PyQt4.QtCore import QT_VERSION_STR
>>> print("Qt version:", QT_VERSION_STR)
('Qt version:', '4.8.6')

>From within python cmd line:

>>> from PyQt4.Qt import QKeySequence
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name QKeySequence


Any help is greatly appreciated. 

Thanks!




-- 
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.

Reply via email to