Reputation: 3264
I'm not experienced in Python, and I need the requests
module.
I've tried installing it using pip install requests
The installation went successfully, but when I try to import the module, I get an error like "no module named requests".
Should I add the install location to PYTHONPATH? If yes, how can I find the location where pip installed the files? I don't know about virtualenv, and I am using Ubuntu.
Upvotes: 3
Views: 3156
Reputation: 5741
You should install pip for python3 first
How to install pip with Python 3?
then with the pip-3.X
install the required module.
Upvotes: 2