标签:
我明明用pip install requests安装成功了,但是依然报下面的错
错误1
requests.packages.urllib3.disable_warnings()
AttributeError: ‘module‘ object has no attribute ‘packages‘
错误2
from requests.packages import urllib3
ImportError: No module named packages
后来发现只要把用apt-get安装的python requests删除就可。
apt-get remove python-requests
解决在ubuntu下requests 无法找到模块packages
标签:
原文地址:http://www.cnblogs.com/icez/p/module_object_has_no_attribute_packages.html