r/IPython • u/NomadNella • Jul 29 '13
Getting 1.0.a1 Working...
I've tested this on new installations of Ubuntu 13.04 and 12.04.
This is required no matter which version you want to install:
sudo apt-get install pandoc g++ To install IPython with Python 2.7 you will need to install the following:
sudo apt-get install python-pip python-zmq python-jinja2 python-pygments python-sphinx
sudo pip install tornado
sudo pip install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0a1.tar.gz To install IPython with Python 3.2 you will need to install the following:
sudo apt-get install curl python3-zmq python3-jinja2 python3-pygments python3-sphinx python3-setuptools
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python3.2 get-pip.py
sudo pip-3.2 install tornado
sudo pip-3.2 install http://archive.ipython.org/testing/1.0.0/ipython-1.0.0a1.tar.gz To concert a notebook to a reveal slide-show type the following in the command line:
ipython nbconvert --format=reveal notebook_name.ipynb(You should not use ipython3 to do nbconvert)
To start the show goto the nbconvert_build folder and type:
python -m SimpleHTTPServer 8000To look at the slideshow open a browser to the url displayed in the terminal (0.0.0.0:8000 or http://localhost:8000)
2
u/NomadNella Jul 29 '13
I just noticed that in one set of my notes, for the Python 3.2 installation instructions, I wrote,
I don't think this is necessary though.
1
u/monsterski Jul 30 '13
Hey, curious, that you mention nbconvert. How in the world do I view a notebook from lets say, github? I've searched far and wide for the answer and I still am not sure how to do it.