尝试使用以下命令安装 urllib.request 模块
sudo pip install urllib.request
但它回来了
Downloading/unpacking urllib.request
Could not find any downloads that satisfy the requirement urllib.request
Cleaning up...
No distributions at all found for urllib.request
Storing debug log for failure in /home/mounarajan/.pip/pip.log
我怎样才能安装这个模块?
urllib.request 仅在 python3 分支中可用。请参阅以下帖子了解更多信息。Python 2.7 中的 urllib.request https://stackoverflow.com/questions/3745771/urllib-request-in-python-2-7
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)