Hi Garvin,

The problem with EPD is mainly because they are using a PySide version that doesn't play well with Spyder, but it should work well with PyQt (as you're trying to do).

But the error you report seems to be related to IPython, not to us. What happens if run IPython in a terminal with

ipython

or if you run its Qt interface with

ipython qtconsole

Cheers,
Carlos

El 07/10/12 09:29, Garvin Haslett escribió:
I've installed
spyder-2.1.11_py27 and
PyQt-Py2.7-x64-gpl-4.9.5-1
over Python 2.7.3 |EPD 7.3-2 (64-bit).
on a Win 7-64 machine.

Below you can see the error that results from a 'from spyderlib import spyder' call. I also note issue 841 <http://code.google.com/p/spyderlib/issues/detail?id=841>, not to mention other threads outlining enthought/spyder conflicts on other platforms.

1. Is this the Win7 variant of issue 841? In which case I assume I need to wait for the next version of enthought.
2. If not, is this a known issue with resolution?
3. If not, can anyone help?

Regards,
Garvin

>>> from spyderlib import spyder
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\spyderlib\spyder.py", line 29, in <module>

    if is_module_installed('IPython.frontend.qt', '>=0.12'):
File "C:\Python27\lib\site-packages\spyderlib\utils\programs.py", line 172, in
 is_module_installed
    mod = __import__(module_name)
File "C:\Python27\lib\site-packages\IPython\__init__.py", line 43, in <module>

    from .config.loader import Config
File "C:\Python27\lib\site-packages\IPython\config\__init__.py", line 16, in <module>
    from .application import *
File "C:\Python27\lib\site-packages\IPython\config\application.py", line 29, in <module>
    from IPython.external.decorator import decorator
File "C:\Python27\lib\site-packages\IPython\external\decorator\__init__.py", line 4, in <module>
    from ._decorator import *
File "C:\Python27\lib\site-packages\IPython\external\decorator\_decorator.py",
 line 165
    print('Error in generated code:', file=sys.stderr)
                                          ^
SyntaxError: invalid syntax
>>> print('Error in generated code:', file=sys.stderr)
  File "<stdin>", line 1
    print('Error in generated code:', file=sys.stderr)

--
You received this message because you are subscribed to the Google Groups "spyder" group. To view this discussion on the web visit https://groups.google.com/d/msg/spyderlib/-/xUDUQh-1VPcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to