r/Python • • Nov 19 '12

Setup a remote IPython notebook server with Numpy/Scipy/Maltplotlib/Pandas in a virtualenv on Ubuntu Server

http://thomassileo.com/blog/2012/11/19/setup-a-remote-ipython-notebook-server-with-numpy-slash-scipy-slash-maltplotlib-slash-pandas-in-a-virtualenv-on-ubuntu-server/
37 Upvotes

3 comments sorted by

3

u/takluyver IPython, Py3, etc Nov 19 '12

I'd suggest you install the libraries from apt (there are PPAs and extra repositories around if you need the latest versions), and then create your virtualenv with --system-site-packages. That avoids having to compile everything in place and do special things for PyQt.

2

u/tomt0m Nov 20 '12

Maybe, but I wanted to install everything in an existing virtualenv, so I think it was the best solution. And even with a brand new virtualenv, I think using pip should be faster than gathering all the differents PPAs and extra repositories.

2

u/takluyver IPython, Py3, etc Nov 20 '12

Installing into an existing virtualenv is fair enough. I don't think it takes that long to add a couple of PPAs, though. If you can use Ubuntu 12.10, then the versions in the main repositories should be fine. For 12.04, the IPython PPA is the only one I'd tell a newcomer to worry about. And doing updates with apt is much nicer than with pip.