I have installed the pip3 as well as requests package in my pc.Even then on running the command import requests on my shell,i am getting the following error:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
I have to manually copy all the packages to my working directory to tackle this exception.
Find were your python is installed and find Scripts directory. Open cmd, go to this folder and type pip install requests
.
For me it was like below:
cd C:\Users\myLocalUserName\AppData\Local\Programs\Python\Python36\Scripts
pip install requests
For listing instaled modules for Python 3:
sudo pip3 list
For installing the request
module for Python 3:
sudo pip3 install requests
In PyCharm you should:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With