From: Ivan D V. <iv...@ad...> - 2011-08-11 18:23:42
|
On Thursday, August 11, 2011 14:20:22 you wrote: > but i instead use the following procedure to set up all of PyLab on Ubuntu 11.04: > > $ sudo add-apt-repository ppa:chris-lea/zeromq > $ sudo add-apt-repository ppa:pyside > $ sudo apt-get update > $ sudo apt-get build-dep python-numpy python-scipy matplotlib ipython pyzmq > $ sudo apt-get install python-pyside > $ ln -s /usr/lib/python2.7/dist-packages/PySide /opt/adverplex/lib/python2.7/site-packages/ sorry, this line should be: $ ln -s /usr/lib/python2.7/dist-packages/PySide {env}/lib/python2.7/site-packages/ where {env} is the location of your virtual environment. my company's standard environment happens to be at /opt/adverplex. > $ pip install --upgrade numpy scipy ipython pyzmq > $ pip install > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/matplotlib-1.0.1.tar.gz > > this has the benefit of being compatible with any virtual environment. prepend ``sudo `` to the pip > commands if your Python environment is owned by root. |