Hi,

You need to install PyQt4 for Python 3 to make Spyder work (even if you already have it installed for Python 2). You can do it with this command

   sudo apt-get install python3-pyqt4

Cheers,
Carlos

El 14/02/14 11:32, Raphael Thomalla escribió:
Hi,

so now i did an installation with python3.3 on my 12.04 and rerun python3.3 setup.py install. It looks fine. But after try to run spyder get this:


Traceback (most recent call last):
File "/usr/local/lib/python3.3/dist-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/local/lib/python3.3/dist-packages/spyderlib/requirements.py", line 39, in check_qt
    from spyderlib import qt
File "/usr/local/lib/python3.3/dist-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/spyder", line 3, in <module>
    start_app.main()
File "/usr/local/lib/python3.3/dist-packages/spyderlib/start_app.py", line 90, in main
    from spyderlib import spyder
File "/usr/local/lib/python3.3/dist-packages/spyderlib/spyder.py", line 73, in <module>
    requirements.check_qt()
File "/usr/local/lib/python3.3/dist-packages/spyderlib/requirements.py", line 49, in check_qt
    % (qt_infos['pyqt']+qt_infos['pyside']))
File "/usr/local/lib/python3.3/dist-packages/spyderlib/requirements.py", line 24, in show_warning
    raise RuntimeError(message)
RuntimeError: Please check Spyder installation requirements:
PyQt4 4.4+ (or PySide 1.1.1+) is required.

So try to find PyQt4 or PySide but not really found

Regards
Raphael




Am Freitag, 14. Februar 2014 16:24:12 UTC+1 schrieb Carlos Córdoba:

    That's a bug Raphael because Spyder should be working in Python
    3.2 too.
    I'll try to fix it as soon as I can, thanks for reporting.

    Cheers,
    Carlos

    El 14/02/14 10:15, Adrian Klaver escribió:
    > On 02/14/2014 06:24 AM, Raphael Thomalla wrote:
    >> Hi, i do this below, but won't really work. I use Elementary
    OS. I did
    >> install python3.2 from packages, then i download the spyderlib
    >> 2.3.0beta3 and unzip this. After that i do ; python3.2 setup.py
    install.
    >> Everything passed, but after start with "sudo spyder" i get this:
    >>
    >> config@config-VirtualBox:~/Downloads/spyder-2.3.0beta3$ spyder
    >>
    >> (python3.2:7336): Gtk-WARNING **: Unable to locate theme engine in
    >> module_path: "pixmap",
    >>
    >> (python3.2:7336): Gtk-WARNING **: Unable to locate theme engine in
    >> module_path: "pixmap",
    >>
    >> (python3.2:7336): Gtk-WARNING **: Unable to locate theme engine in
    >> module_path: "pixmap",
    >>
    >> (python3.2:7336): Gtk-WARNING **: Unable to locate theme engine in
    >> module_path: "pixmap",
    >>
    >> (python3.2:7336): Gtk-WARNING **: Unable to locate theme engine in
    >> module_path: "pixmap",
    >> Traceback (most recent call last):
    >>    File "/usr/local/bin/spyder", line 3, in <module>
    >>      start_app.main()
    >>    File
    "/usr/local/lib/python3.2/dist-packages/spyderlib/start_app.py",
    >> line 90, in main
    >>      from spyderlib import spyder
    >>    File
    "/usr/local/lib/python3.2/dist-packages/spyderlib/spyder.py",
    >> line 143, in <module>
    >>      from spyderlib.utils.introspection import module_completion
    >>    File
    >>
    
"/usr/local/lib/python3.2/dist-packages/spyderlib/utils/introspection/__init__.py",

    >>
    >> line 10, in <module>
    >>      from .base import get_plugin
    >>    File
    >>
    
"/usr/local/lib/python3.2/dist-packages/spyderlib/utils/introspection/base.py",

    >>
    >> line 450
    >>      code = u'álfa;á'
    >>                       ^
    >> SyntaxError: invalid syntax
    >
    > The syntax above is not valid in Python 3.2.
    >
    > It reappears in 3.3+:
    >
    > http://docs.python.org/3/whatsnew/3.3.html
    <http://docs.python.org/3/whatsnew/3.3.html>
    >
    > "The u'unicode' syntax is accepted again for str objects."
    >
    >
    > So you will need to upgrade to Python 3.3 or the code in Spyder
    will
    > need to be changed.
    >
    >>
    >>
    >> So i'm a little bit frustrated...... With WinPython 3.3.3.3 on
    >> Windows7_64_pro works fine so far. I'm newbie in Py, young
    padavan ;)
    >> and trying about days to install spyderlib with my py3.2 and my
    >> elementaryOS.
    >>
    >> Regards
    >> Raphael
    >
    >

--
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/groups/opt_out.

--
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/groups/opt_out.

Reply via email to