开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜