Unable to import queries in Python: ImportError no module named urllib3

I searched for this, but other examples I came across are people who have problems installing queries, my problem is with importing the module:

Using Putty (connected to an HDF 2.4 sandbox session) and Python to call the API.

Last night I had this - I installed the Requests module without problems, defined Python, and then made a GET request, it worked fine.

I did the same steps tonight, but when I try to “Import Requests” I get an error:

ImportError: No module named urllib3 

The steps that I reproduced last night:

 [ root@sandbox ~]# pip install requests python –v import requests 

Picture. I had to accidentally change something ... Can anyone advise?

+5
source share

Source: https://habr.com/ru/post/1262480/


All Articles