Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install python-scipy in a virtualenv

I'm trying making work scipy in my virtualenv but the only way to install it is with apt-get and there is not a way to install it for my virtual env. Doesn't exits a package for pil, so i tried copy the folder /usr/lib/python2.7/dist-packages/scipy to /home/envs/conbert/lib/python2.7/site-packages but is not working. Is possible make work scipy for a specific environment?

like image 264
EnZo Avatar asked Sep 29 '22 02:09

EnZo


1 Answers

You can install scipy using pip in your virtualenv with

pip install scipy

pip should install all Python dependencies necessary before installing scipy.

Note that you may have to install some extra non-Python dependencies using apt-get. These will be flagged as errors during the pip installation if they're necessary. Possible dependencies may include BLAS, LAPACK, ATLAS, various compilers, etc. Whether these are already installed will depend on what you've already done with your system.

like image 186
Ffisegydd Avatar answered Oct 26 '22 23:10

Ffisegydd