-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named packages.urllib3.poolmanager #18
Comments
@asuna 贴一下下面命令的结果
|
注销重新登录再下载,之前115遇到此类报错,可以解决。 之前centos下用着一直没问题,这次换Ubuntu (14.04) 下用就报错了 —Reply to this email directly or view it on GitHub. |
root@dedi-fr-25527:~# ls -l /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3
ls: cannot access /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3: No such file or directory |
@asuna 你好像没有装 requests
pip 是python2的pip |
requests之前安装了,upgrade下就好了... root@dedi-fr-25527:~# pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages
Cleaning up...
root@dedi-fr-25527:~# pip install requests --upgrade
Downloading/unpacking requests from https://pypi.python.org/packages/py2.py3/r/requests/requests-2.5.1-py2.py3-none-any.whl#md5=11dc91bc96c5c5e0b566ce8f9c9644ab
Downloading requests-2.5.1-py2.py3-none-any.whl (464kB): 464kB downloaded
Installing collected packages: requests
Found existing installation: requests 2.2.1
Uninstalling requests:
Successfully uninstalled requests
Successfully installed requests
Cleaning up...
root@dedi-fr-25527:~# ./p^C
root@dedi-fr-25527:~# ./iScript/pan.baidu.com.py
usage: https://github.com/PeterDing/iScript#pan.baidu.com.py |
之前centos下用着一直没问题,这次换Ubuntu (14.04) 下用就报错了
The text was updated successfully, but these errors were encountered: