python在3.x之后,有时候运行程序时出现“AttributeError: module ‘urllib’ has no attribute ‘resquest’” 或者 “’module’ object has no attribute ‘request’”这种奇怪的错误
这个时候,找到下载python的位置,打开“_pychche_”文件夹,比如我的”\Python\Python36-32\Lib__pycache__” ,将 string开头的文件删除即可.
详情原理看这里: here stackoverflow !