Reputation: 5738
Unable to install and configure Python Requests module in Pycharm in windows 10. Getting errors.
Upvotes: 0
Views: 520
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
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
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
Reputation: 1115
If python is added to your PATH
then can use:
pip install package-name
Upvotes: 0