运行错误集

1、'utf-8' codec can't decode byte 0xa1 in position 257: invalid start byte
文件编码不统一,xx.decode('gbk')

2、JSONDecodeError: Expecting value: line 1 column 1 (char 0)
JSON格式错误

3、(Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
加上一个参数:verify=证书路径,或verify=False

4、“DeprecationWarning: To avoid name collision with the igraph project, this visualization library has been renamed to 'jgraph'. Please upgrade when convenient.”
igraph、python-igraph安装异常,导致解析命名冲突,卸载(pip uninstall igraph),手动下载Python非官方扩展库-Windows-python-igraph安装

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容