Pip 安装挂起

2022-01-13 00:00:00 python python-3.x pip package

问题描述

我目前在我的 Windows 机器上安装了 Python 3.5.我正在尝试使用命令 "pip install" 安装 Python 包,但是一旦我按下回车键,什么都没有发生.该操作挂起这么长时间,当我尝试退出命令行时,它会冻结.如何让 pip install 工作?

I currently have Python 3.5 on my Windows machine. I'm trying to install a Python package using the command "pip install" but as soon as I hit enter nothing happens. The action hangs for such a long time and when I try to exit the command line, it freezes. How do I get pip install to work?


解决方案

@JBernardo 的评论对我有用.谢谢!

@JBernardo 's comment worked for me. Thanks!

python -m pip install some_package_you_want

相关文章