Reputation: 17284
I have a module installed in the main python install, however, I'd like to install this module into my virtualenv and I'd like it to be portable, how can I do that?
I'm getting this error:
(v_env)[nubela@nubela-desktop zine-ified]$ pip -E v_env install pyfacebook
Requirement already satisfied (use --upgrade to upgrade): pyfacebook in /home/nubela/...
Upvotes: 2
Views: 1700
Reputation: 3127
To force pip installing a package when it's already been detected, you need to use the -I
or --ignore-installed
flag. In your case, the command would be:
pip -E v_env install -I pyfacebook
pip will then install it into your virtualenv.
Upvotes: 6