I installed a virtual environment for python. I succeeded to install numpy and scipy but not parallel python. How can I install or build third modules into the virtualenv?
I tried to sudo apt-get python-pp
, it worked and installed the last version but I can't call the module import pp after launching the virtualenv
Previously done to install python + last scipy stack in a terminal:
sudo apt-get install build-essential gfortran libblas3gf libblas-doc libblas-dev liblapack3gf liblapack-doc liblapack-dev
sudo apt-get install python-dev
sudo apt-get install python-pp
sudo apt-get install python-virtualenv
mkdir + cd into appropriate dedicated folder
virtualenv --no-site-packages virtualenv
source ./virtualenv/bin/activate
pip install numpy scipy
How to install and build python third modules into the virtualenv? Thanks for your incoming help and explanations.
Answer:
after pip install numpy scipy
, go into ./virtualenv/bin/
and there apply Nicholas commands:
wget http://www.parallelpython.com/downloads/pp/pp-1.6.4.zip
unzip -e pp-1.6.4.zip
cd pp-1.6.4
python setup.py install
to test,
python
import pp
Thanks to Nicholas I