美文网首页
运行错误集

运行错误集

作者: x_no_one | 来源:发表于2018-08-15 22:45 被阅读70次

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

    相关文章

      网友评论

          本文标题:运行错误集

          本文链接:https://www.haomeiwen.com/subject/llmeuftx.html