I extracted ipython-1.1.0.tar.gz to / usr / lib / ipython -1.1.0 and ran the following commands to complete the build and installation:
root@my-laptop:/usr/lib/ipython-1.1.0
root@my-laptop:/usr/lib/ipython-1.1.0
I am using Python 2.6 and installed under / usr / bin / python 2.6 and have additional packages in / usr / lib / python 2.6 / site-packages /
Now, when I try to start ipython notebook from the shell, I get the following ImportError message:
root@my-laptop:/usr/lib/ipython-1.1.0
Traceback (most recent call last):
File "/usr/local/bin/ipython", line 5, in <module>
from IPython import start_ipython
ImportError: cannot import name start_ipython
When I tried to start the IPython instance, as indicated in the README.rst file, I received the following message:
root@my-laptop:/usr/lib/ipython-1.1.0
/usr/bin/python: IPython is a package and cannot be directly executed
I tried easy_install and pip install
root@my-laptop:/usr/lib/ipython-1.1.0# easy_install ipython
Searching for ipython
Best match: ipython 1.1.0
Adding ipython 1.1.0 to easy-install.pth file
Using /usr/local/lib/python2.6/dist-packages
Processing dependencies for ipython
root@my-laptop:/usr/lib/ipython-1.1.0# pip install ipython
Requirement already satisfied: ipython in /usr/lib/pymodules/python2.6
Installing collected packages: ipython
Successfully installed ipython
But the ImportError problem remains unsolved. This does not allow you to open interactive Python.
I found some solution in the link below, but not sure about this:
https: