4 ms·
I would like to know. For Windows and Ubuntu. I was never able to properly ipython notebook under 3.3 either.
by stefap2 13y ago
I would like to know. For Windows and Ubuntu. I was never able to properly ipython notebook under 3.3 either.
- japhyr 13y agoThis worked for me on Ubuntu 12.04: First, add a ppa that has old and new versions of Python, and use that to install Python3.3: sudo apt-get install python-software-properties sudo add-apt-repository ppa:fkrull/deadsnakes sudo apt-get update sudo apt-get install python3.3 Now, install the correct versions of ipython, ipython-notebook, ipython3, and ipython3-notebook: sudo apt-get install ipython=0.13.2-1~ubuntu12.04.1 sudo apt-get install ipython-notebook=0.13.2-1~ubuntu12.04.1 sudo apt-get install ipython3=0.13.2-1~ubuntu12.04.1 sudo apt-get install ipython3-notebook Now, the command 'ipython notebook' should run your system's default version of Python. The command 'ipython3 notebook' should run Python3.3. I test the current version of Python with: print(3/2) If you're running Python 2, you'll see 1. If you're running Python 3, you'll see 1.5. Hope that helps, and happy to help troubleshoot if it doesn't. I'll add this to the readme on the project page [1] when I get the chance. [1] https://github.com/ehmatthes/intro_programming https://github.com/ehmatthes/intro_programming
- stefap2 13y agothanks. this worked for me.
- pdfcollect 13y agoDoes anyone know how to do this on windows? $ python -m IPython - first code line of github repo readme : https://github.com/ipython/ipython https://github.com/ipython/ipython - on python 3.3 gives me an error.
- takluyver 13y agoFor the time being, that bit of the README is misleading - you need to install IPython, because it relies on 2to3 running during setup.py. That will be fixed (by me!) for our next major release, due this winter.