i奇异

关注

module 'urllib' has no attribute 'request'的解决方法

i奇异

关注

阅读 79

2022-05-31

报错:module 'urllib' has no attribute 'request'解决办法:

 

然后查找原因,据说python3有时候不会将子模块自动导入进去,所以前面加上:(亲测可行)

import urllib.request


相关推荐

柠檬的那个酸_2333

module ‘socketio‘ has no attribute ‘Client‘解决

柠檬的那个酸_2333 260 0 0

爱动漫建模

MaskRCNN环境配置module 'scipy.misc' has no attribute 'imresize' 报错信息解决方法!

爱动漫建模 8 0 0

狐沐说

解决AttributeError: module tensorflow has no attribute placeholder

狐沐说 27 0 0

桑二小姐

解决AttributeError: module ‘tensorflow‘ has no attribute ‘div‘

桑二小姐 62 0 0

香小蕉

【错误解决】 module ‘torch‘ has no attribute ‘untils‘

香小蕉 40 0 0

工程与房产肖律师

【BUG解决】AttributeError: module ‘enum‘ has no attribute ‘IntFlag‘

工程与房产肖律师 109 0 0

陆公子521

已解决AttributeError: module ‘numpy‘ has no attribute ‘integer‘

陆公子521 33 0 0

悄然丝语

module ‘asyncio‘ has no attribute ‘run‘

悄然丝语 179 0 0

求阙者

module ‘tensorflow‘ has no attribute ‘Session‘

求阙者 39 0 0

炽凤亮尧

module 'sklearn' has no attribute 'svm'

炽凤亮尧 104 0 0

精彩评论(0)

0 0 举报