AttributeError: module ‘urllib‘ has no attribute ‘urlopen‘错误

it2026-04-02  6

从网络读取图像数据并转换成图片格式的时候

查了些资料,因为在在Python3.X中应该用urllib.request

修改之后就可以了

最新回复(0)