Python3.5.2下导入matplotlib.pyplot错误

    xiaoxiao2021-03-25  77

    错误提示:

    ValueError: _getfullpathname: embedded null character

    解决方法:

    到python3.5的安装文件目录libs下找到font_manager.py文件

    direc = os.path.abspath(direc).lower()

    改为:

    direc = direc.split('\0', 1)[0]

    保存即可。

    转载请注明原文地址: https://ju.6miu.com/read-10717.html

    最新回复(0)