Opened 11 years ago

Closed 11 years ago

#40119 closed defect (invalid)

ipython: cannot start

Reported by: jprueff@… Owned by: akitada@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: jhamman1@…, petrrr
Port: py27-ipython

Description (last modified by larryv (Lawrence Velázquez))

It is impossible to start ipython since the last update from 0.13 to 1.0

The error message says :

Traceback (most recent call last):
  File "/opt/local/bin/ipython", line 5, in <module>
    from IPython import start_ipython
ImportError: cannot import name start_ipython

I have tried to uninstall and reinstall both python (v 2.7) and ipython, but it did not help

Change History (7)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: ipython removed
Owner: changed from macports-tickets@… to akitada@…
Priority: HighNormal
Summary: failed to start ipython 1.0ipython: cannot start

Please do not set the Priority field in the future; priority assessment is at the discretion of MacPorts developers.

Also, please Cc relevant port maintainers (port info --maintainers) and use WikiFormatting in the future.

comment:2 Changed 11 years ago by jhamman1@…

I am merely echoing jprueff@…'s report. I also have reinstalled but still getting this error:

>>>sudo port select --set ipython ipython27
Selecting 'ipython27' for 'ipython' succeeded. 'ipython27' is now active.

>>>ipython
Traceback (most recent call last):
  File "/opt/local/bin/ipython", line 5, in <module>
    from IPython import start_ipython
ImportError: cannot import name start_ipython

One other note, py33-ipython seems to be working without any problems.

comment:3 Changed 11 years ago by jhamman1@…

Cc: jhamman1@… added

Cc Me!

comment:4 Changed 11 years ago by jprueff@…

Ipython is working now. There was apparently a conflict with the previous Python 2.7 installation. To get it work (on Mac Os X), I have removed the directory : /Library/Python/2.7/

comment:5 in reply to:  4 Changed 11 years ago by jhamman1@…

Replying to jprueff@…:

Ipython is working now. There was apparently a conflict with the previous Python 2.7 installation. To get it work (on Mac Os X), I have removed the directory : /Library/Python/2.7/

The problem just lies in the /Library/Python/2.7/site-packages/ipython-0.13.1-py2.7.egg/ directory so no need to trash the entire /Library/Python/2.7/ directory. With this mod, ipython is working for me now. It would be nice for the port to handle this though.

Thanks for the tip.

comment:6 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:7 Changed 11 years ago by seanfarley (Sean Farley)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.