Re:How IPython Notebook and Github have changed the way I te...
by japhyr on Tuesday September 24, 2013 @02:19PM
(#6439715)
If anyone wants, I'm happy to post a more explicit recipe for how to get multiple versions of Python and IPython running. It's easy enough to post right here.
[ Parent
| on HN ]
Re:How IPython Notebook and Github have changed the way I te...
by stefap2 on Tuesday September 24, 2013 @02:36PM
(#6439829)
I would like to know. For Windows and Ubuntu. I was never able to properly ipython notebook under 3.3 either.
Re:How IPython Notebook and Github have changed the way I te...
by japhyr on Tuesday September 24, 2013 @08:04PM
(#6441733)
This 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.
Re:How IPython Notebook and Github have changed the way I te...
by stefap2 on Tuesday September 24, 2013 @09:47PM
(#6442163)
thanks. this worked for me.
Re:How IPython Notebook and Github have changed the way I te...
by pdfcollect on Tuesday September 24, 2013 @09:54PM
(#6442190)
Does anyone know how to do this on windows? $ python -m IPython - first code line of github repo readme : https://github.com/ipython/ipython - on python 3.3 gives me an error.
Re:How IPython Notebook and Github have changed the way I te...
by takluyver on Friday September 27, 2013 @01:17PM
(#6458130)
For 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.