我有Enthought Python Distribution的學術許可證,當我嘗試運行ipython時遇到了一個奇怪的錯誤。下面是一些我看到的行爲:IPython Enthought Python Distribution發佈錯誤
$ ipython
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/ipython", line 8, in <module>
from IPython import start_ipython
ImportError: cannot import name start_ipython
$ python
Enthought Python Distribution -- www.enthought.com
Version: 7.3-2 (64-bit)
Python 2.7.2 |EPD 7.3-2 (64-bit)| (default, Sep 7 2011, 16:31:15)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "credits", "demo" or "enthought" for more information.
>>> import IPython
>>> IPython.start_ipython()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'start_ipython'
>>>
當我運行enpkg enstaller,它更新IPython的,它看上去像一切工作正常。
$ sudo enpkg ipython
prefix: /Library/Frameworks/EPD64.framework/Versions/7.2
No update necessary, 'ipython' is up-to-date.
ipython-1.1.0-6.egg was installed on: Sun Jan 19 23:57:27 2014
$ which ipython
/Library/Frameworks/EPD64.framework/Versions/Current/bin/ipython
$ which python
/Library/Frameworks/EPD64.framework/Versions/Current/bin/python
任何幫助或建議我可以做些什麼來讓ipython再次工作?