简体   繁体   中英

Unable to install Python Requests module in windows 10

Unable to install and configure Python Requests module in Pycharm in windows 10. Getting errors.

在此处输入图片说明

在此处输入图片说明

you are working behind a proxy (probably corporate environment) so you need to setup the following environment variable in your PC.

Apparently your "proxy.com" is not a valid proxy. Get the proper info from your IT department.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM