开发者

PIP complains when I try to install a module into another virtualenv

开发者 https://www.devze.com 2022-12-16 02:49 出处:网络
I have a module installed in the main python install, however, I\'d like to install t开发者_JAVA技巧his module into my virtualenv and I\'d like it to be portable, how can I do that?

I have a module installed in the main python install, however, I'd like to install t开发者_JAVA技巧his 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/...


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消