python 报错You need either charset

python 报错You need either charset,第1张

python 报错You need either charset

解决raise Exception<“You need either charset_nornalizer or chardet installed”>Exception: You need either charset_nornalizer or chardet installed

需要依赖库chardet或chardet-normalizer支持,尝试安装requests前先pip install chardet,或使用这样命令安装:
python -m pip install requests chardet

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5670986.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存