coolcoolad / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

IPython.kernel error with Python(x,y) 2.7.2.1: No module named twisted.python #372

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using default installation options on Python(x,y) 2.7.2.1, the following error 
occurs when running `ipengine` from the Windows command line:

  Traceback (most recent call last):
    File "C:\Python27\scripts\ipengine.py", line 18, in <module>
      from IPython.kernel.scripts import ipengine
    File "C:\Python27\lib\site-packages\IPython\kernel\__init__.py", line 25, in <module>
      from IPython.kernel.error import TaskRejectError
    File "C:\Python27\lib\site-packages\IPython\kernel\error.py", line  20, in <module>
      from twisted.python import failure
  ImportError: No module named twisted.python

This problem can be reproduced on multiple Windows 7 computers, and prevents 
the use of IPython 0.10's parallelization toolkit.

Original issue reported on code.google.com by cgran...@gmail.com on 7 Feb 2012 at 4:26

GoogleCodeExporter commented 9 years ago
I manually fixed the problem by installing Twisted 
(http://pypi.python.org/packages/2.7/T/Twisted/Twisted-11.1.0.win32-py2.7.msi), 
then running the following easy_install commands:

  easy_install zope.interface
  easy_install foolscap
  easy_install pyopenssl

If there's some way of fixing the installer to do this automatically, I think 
that would be highly useful, especially to new users. Thanks!

Original comment by cgran...@gmail.com on 7 Feb 2012 at 7:48

GoogleCodeExporter commented 9 years ago
This was actually planned for 2.7.2.0 until ipython 0.12 came out. The latest 
version requires non of the above - introducing a new set of dependencies 
(pyzmq). Neither are scientific in nature.

Original comment by grizzly.nyo on 8 Feb 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Twisted is no longer required for IPython

Original comment by grizzly.nyo on 13 Oct 2012 at 12:09