Reputation: 1615
While trying to install http module using pip I am getting below error and not able to solve it.
pip install http
ImportError: cannot import name 'Request' from 'request' (/Users/..../venv/lib/python3.7/site-packages/request/__init__.py)
Upvotes: 6
Views: 12216
Reputation: 1
re-install python and make sure it's added to your path - do the same for pip too. after that, you're good to go ;)
Upvotes: -2
Reputation: 42
It's already in python 3.7. No need to install explicitly. But if it is not there or removed accidentally then try this:
pip3 install http
Upvotes: -2
Reputation: 20490
It's already present in python 3.7 (https://docs.python.org/3.7/library/http.html). You don't need to install it
Upvotes: 8