Pip挂在Windows 7中 [英] Pip hangs in Windows 7

查看:71
本文介绍了Pip挂在Windows 7中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows 7中的pip中安装了Python 2.7.10,当我尝试安装软件包或什至在没有任何选项的cmd中运行pip时,它都无法堆叠,不打印任何内容,甚至ctrl + c也不起作用,我必须关闭cmd.
任务管理器显示了3个正在运行的pip.exe *32进程,当我关闭cmd时,我可以杀死其中之一.其他2个仅在重新加载Windows后才删除.
Python 3.5也会发生相同的情况 我尝试重新安装pip或python,都没有帮助.
pip-7.1.2

I have Python 2.7.10 installed with pip om Windows 7. When I'm trying to install package or even just run pip in cmd with no options, it stacks, prints nothing, and even ctrl+c does not work, I have to close cmd.
Task Manager shows 3 running pip.exe *32 processes, and when I close cmd I can kill one of them. Other 2 are removed only after reloading Windows.
Same thing happens with Python 3.5 I tried to reinstall pip or python, neither was helpful.
pip-7.1.2

upd 1
弄清楚我对virtualenv也有同样的问题.

upd 1
Figured out that I have same problem with virtualenv.

推荐答案

尝试使用py -2 -m pip代替pip

这篇关于Pip挂在Windows 7中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆