0
点赞
收藏
分享

微信扫一扫

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

i奇异 2022-05-31 阅读 79

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

 

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

import urllib.request


举报

相关推荐

0 条评论