venkat
venkat

Reputation: 5738

Unable to install Python Requests module in windows 10

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

enter image description here

enter image description here

Upvotes: 0

Views: 520

Answers (4)

Sayali Waghmare
Sayali Waghmare

Reputation: 112

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

Upvotes: 0

Krzy
Krzy

Reputation: 83

in pycharm: File->setting->project:example->click on the plus button on the right side of packages and add selenium-requests

Upvotes: 0

Kurumi Tokisaki
Kurumi Tokisaki

Reputation: 171

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

Upvotes: 1

Siddharth Das
Siddharth Das

Reputation: 1115

If python is added to your PATH then can use:

pip install package-name

Upvotes: 0

Related Questions