开发者

pip setup and setting PYTHONPATH

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜