运行错误集

2018-08-15  本文已影响70人  x_no_one

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安装

上一篇 下一篇

猜你喜欢

热点阅读