G
G
gordienkodan2021-09-26 09:03:19
Python
gordienkodan, 2021-09-26 09:03:19

No module named 'requests'?

61500cd3e0a24469194325.jpeg

pip install requests
pip3 install requests
wrote these commands, does not help
61500d23d4d57350377088.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2021-09-26
@sergey-gornostaev

Because you need to install the library in the virtual environment of the project.

A
alexbprofit, 2021-09-26
@alexbprofit

in pycharm, go to the Terminal window and write pip list, it seems to me that the requests module will not be there, then write pip install requests there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question