conetfun
conetfun

Reputation: 1615

Not able to install http module in python 3.7

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

Answers (3)

SHAMMAH.dev
SHAMMAH.dev

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

Anuj Subedi
Anuj Subedi

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

Devesh Kumar Singh
Devesh Kumar Singh

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

Related Questions