开发者

pip setup and setting PYTHONPATH

开发者 https://www.devze.com 2023-03-21 22:47 出处:网络
I\'m not experienced in 开发者_如何学CPython, and I need the requests module. I\'ve tried installing it using pip install requests

I'm not experienced in 开发者_如何学CPython, 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.


You should install pip for python3 first How to install pip with Python 3? then with the pip-3.X install the required module.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号