问题描述:
使用matplotlib绘图时,发生如下错误,程序直接退出:
Process finished with exit code -1066598274 (0xC06D007E)
原因:
通过在网上查询,发现该错误代码表示当前使用的包和其他依赖包出现版本冲突
python出现进程已结束,退出代码为-1066598274 (0xC06D007E)的含义
解决方法:
matplotlib一般与numpy相关,所以需要解决这两个库的版本问题。
1. 卸载matplotlib和numpy库
pip uninstall matplotlib
pip uninstall numpy
2. 查看anaconda环境中这两个库是否删干净了
pip list
发现没有删干净。列表里出现了matplotlib-inline和numpy,还有两个warning。