Re: [spyder] EPD 7.3-2 (64-bit) and spyder-2.1.11 on Windows, what is the current status?

226 views
Skip to first unread message

Carlos Córdoba

unread,
Oct 10, 2012, 12:36:40 PM10/10/12
to spyd...@googlegroups.com
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, 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 spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.

Garvin Haslett

unread,
Oct 12, 2012, 3:53:16 AM10/12/12
to spyd...@googlegroups.com
Hi Carlos,

Many thanks for the reply and, yes, you're correct calling ipython from a windows command prompt produces the same error. I'll see if I can chase this up via any institutional support contract.

Regards,
Garvin.

Garvin Haslett

unread,
Oct 12, 2012, 10:50:30 AM10/12/12
to spyd...@googlegroups.com
Never mind, uninstalling ipython and installing the version below resolved the issue. I'm afraid I can't throw any further light on what the problem was; I was supplied the machine with ipython already installed and didn't ascertain the version before uninstall.

http://pypi.python.org/packages/any/i/ipython/ipython-0.13.py2-win-amd64.exe#md5=945fc78dfd38631c4720c58139a83255

Carlos Córdoba

unread,
Oct 12, 2012, 11:36:26 AM10/12/12
to spyd...@googlegroups.com
Ok, I'm glad you solved the problem. Thanks for keeping us posted and
happy Spyder testing.

Cheers,
Carlos

El 12/10/12 09:50, Garvin Haslett escribió:
> --
> 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/-/Kf-kl9UalWMJ.
Reply all
Reply to author
Forward
0 new messages