Python Error When Attempting To Install 'request' Package Using Pip
I'm getting the below error message when attempting to install 'request' Python package running command pip install request: ERROR: Could not find a version that satisfies the req
Solution 1:
I think what are you trying to install is the "requests" package
Solution 2:
From what I understood...
There is a typo in the article. Where it says to install request it should actually say requests (plural, with an s at the end). The author of the screencast seems to make the same mistake, and I can only assume it is of no consequence to them, because they probably somehow had requests already installed beforehand in their Python environment.
This can be confirmed by reading the actual code in the git repository linked in the article. In particular the following lines:
import click
import requests
Update:
It seems like (at some point in time at least) the request
(without the s
at the end) package contained some malware:
Post a Comment for "Python Error When Attempting To Install 'request' Package Using Pip"