Fail to start: No module named IPython
Dear all, I've in stalled SAGE 4.8 on Ubuntu 12.04 LTS 64 bit.
When I try to excute Sage, I obtain the error
|Sage version 4.8, Release Date: 2012-01-20 |Type Notebook() for the GUI, and license() for information. Traceback (most recent call last): File "/home/user/sage/sage-4.8/local/bin/sage-ipython", line 18 in <module> import IPython
ImportError: No module named IPython
I have installed IPython but the error remains, either compiliong SAGE from scratch and using binary version
Thanks!
Did you face this problem after upgrading the system from 11.10 to 12.04?
I had just installed Ubuntu 12.04 from scratch, only to use SAGE
I just finished installing 12.04 on my desktop and sage works well. How are you installing sage? Are you trying to build it from the source or just using the binaries? It is recommended that you use the binaries.
Thanks for your support. I did both of them: I compiled it form source code and I used the binaries, with the same result. I have installed IPython using the 'standard' application manager that came with Ubuntu 12.04 - I don't know the name, but I think it is neither aptitude nor synaptic. Maybe it is only a problem regarding the correct path, but I can not fix it.
That is strange. IPython is a part of sage binaries, so you don't have to install it. You just have to unpack the sage binaries and run ./sage from sage directory.
Indeed, there is a ipython folder in the SAGE folder. my SAGE folder contains user@ubuntu:~/sage/sage-4.8$ ls COPYING.txt install.log IPython Makefile sage tmp data ipython local README.txt spkg user@ubuntu:~/sage/sage-4.8$ cd ipython/ user@ubuntu:~/sage/sage-4.8/ipython$ ls ipy_profile_sh.py ipythonrc-numeric ipythonrc-scipy ipythonrc ipythonrc-physics ipythonrc-tutorial ipythonrc-math ipythonrc-pysh ipy_user_conf.py
I'm having this same problem trying to run sage in a clean install of 64-bit Ubuntu 12.04. (Prior to this new install I was running 32-bit Ubuntu 11.10 and was able to run sage with no problems.)