Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am running a Fabric script that sets up a virtualenv on a remote server (running Ubuntu 12.04) and installs various packages into it. The script uses the -E option for pip to install the packages into the virtualenv:

pip install -E . -r [path to requirements]

This used to work alright, but it appears the -E option has been removed from pip now (from the pip changelog).

Can anyone please suggest a workaround for this? Thanks.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

As explained here, if you need to use pip to install a package in a virtualenv environment, just use the pip installed in virtualenv :

Because pip is installed by virtualenv, just use path/to/my/environment/bin/pip to install things into that specific environment.

The pip team remove the -E option because pip is now bundled into every new virtualenv environment, so you can use it to install new packages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.