提示urllib3' has no attribute 'PoolManager ,如何解决

安装了urllib3,但是提示错误

import urllib3
http = urllib3.PoolManager()
r = http.request('GET', 'http://httpbin.org/robots.txt')
print(r.statu)


###### AttributeError: partially initialized module 'urllib3' has no attribute 'PoolManager' (most likely due to a circular import)

你是不是把你的文件名写成urllib3了

首先所写的脚本名不能是urllib3.py
如果不是上面的问题的话,重新卸载安装urllib3