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 requirement request (from versions: none) ERROR: No matching distribution found for request
Troubleshooting steps taken:
- upgraded pip from 20.0.2 to pip 20.1.1 following this Stack Overflow
- ran
pip3 install request
; received same error message - attempted to install version 0.0.14 of setupfiles from this Stack Overflow; received similar error message
Additional information:
- Manjaro Linux XFCE 20.0.3
- Python 3.8.3
- pip 20.1.1
It also looks like the package doesn't exist on the PyPI server anymore. If you Google search "pip install request", you should be able to see the request PyPI project is indexed and if you click it, you'll get a Error code 404.
Is there anything I'm missing? Or is there any other way to install the 'request' package? Is it available somewhere else?
Edit (for use-case context and examples): I'm trying to install a macOS virtual machine via Linux Manjaro. I'm following this Passthrough Post article. Under the "Basic Setup" section of the article, Python packages 'click' and 'request' are prerequisites dependencies. So the command would be pip install click request
. If you see this video guide starting at 5:28 mark, he was able to run that command successfully and install the 'request' package.
Also, here is a screenshot example of it being imported from Flask: Request package imported from Flask example.jpeg
pip install requests
– Olvin Roght Jul 16 '20 at 8:13pip install requests
will work instead – vvk24 Jul 16 '20 at 8:13pip install click request
. If you see this video guide starting at 5:28 mark, he was able to install therequest
package: youtu.be/HipxJJhDPHA?t=328 – tikonux Jul 17 '20 at 8:15import requests
notrequest
. 2. In the screenshot it readsfrom flask import request
so you need to installflask
. 3. The bit in the video is inconclusive, doesn't make any sense to me. – sinoroc Jul 17 '20 at 8:59request
project on PyPI at some point, indeed. Might have been associated with this git repository (deleted as well). Anyway, I am pretty sure the code you want to run needsrequests
and notrequest
, so it doesn't matter that this other project existed at some point but is now missing. – sinoroc Jul 17 '20 at 9:03