Reputation: 2244
Is there anyway I can use homewbrew to install packages (like numpy or matplotlib) into isolated virtual environments created using virtualenv, without having the packaged installed system wide.
Upvotes: 0
Views: 102
Reputation:
You can install numpy with pip.
Your problem will probably solved by issuing the following commands:
$ export CFLAGS=-Qunused-arguments
$ export CPPFLAGS=-Qunused-arguments
$ pip install numpy
You can test with
$ python -c 'import numpy'
There are several packages which have this problem at the moment. PIL is another example.
Upvotes: 1
Reputation: 12496
Use pip
inside of the virtualenv
and it will isolate the packages to just that virtualenv
. Each virtualenv
has a local version of pip
and will install the packages locally.
Upvotes: 2