Monday, February 27, 2012

Getting ready for the PyCon Pandas tutorial

Today I received an email with a link to instructions for preparing a computer for the PyCon Tutorial: Data analysis in Python with pandas, complete with the following instructions for:

Installing PyQt on OS X and Linux
Installation of PyQt from source on OS X and Linux is much more involved.
OS X: http://www.oak-tree.us/blog/index.php/2009/05/12/pyqt-mac
Note the lack of instructions for installing on Linux.  Thrown to the wolves, I guess...

In the interest of helping other Linux users (or at least Ubuntu 10.10 users) out, here are the steps for setting up a Python virtual environment with the necessary libraries, using virtualenvwrapper and pip.

mkvirtualenv pandas

pip install numpy
pip install scipy
pip install matplotlib
pip install ipython
sudo apt-get install libzmq-dev
pip install pyzmq
pip install pygments
pip install pandas
pip install python-dateutil
pip install pyqt
pip install tornado
ipython notebook --pylab=inline

Here is a list of the library versions that were installed:
(pandas)tylere@tylere-laptop:~$ pip freeze

Pygments==1.4
ipython==0.12
matplotlib==1.1.0
numpy==1.6.1
pandas==0.7.0
python-dateutil==1.5
pyzmq==2.1.11
scipy==0.10.0
tornado==2.2
wsgiref==0.1.2
yolk==0.4.3

1 comment:

  1. Hey Tyler,

    Killer blog!

    I was wondering if you would you be interested in sharing your articles with other like- minded people in the API and dev industry. We are building an online community containing links to informative articles about mobile & web apps, software dev, LBS & geo topics, hack events etc.

    If you are interested and want to learn more about this, please send an email to info@atomicreach.com

    Thanks,
    Anne

    ReplyDelete