執行錯誤集

weixin_33860722發表於2018-08-15

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

相關文章