[英]Unable to install Python Requests module in windows 10
you are working behind a proxy (probably corporate environment) so you need to setup the following environment variable in your PC. 您正在使用代理服务器(可能是公司环境),因此您需要在PC中设置以下环境变量。
Apparently your "proxy.com" is not a valid proxy. 显然您的“ proxy.com”不是有效的代理。 Get the proper info from your IT department.
从您的IT部门获取正确的信息。
HTTP_PROXY
HTTPS_PROXY
如果将python添加到您的PATH
则可以使用:
pip install package-name
在pycharm中:File-> setting-> project:example->单击包右侧的加号按钮并添加selenium-requests
You can add flags trusted host and try the following command: 您可以添加标志受信任的主机,然后尝试以下命令:
python -m pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org requests python -m pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org请求
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.