RuntimeError: Python is not installed as a framework. Mac下使用Matplotlib报错
使用为python环境导致的 使用虚拟环境以别导入matplotlib中的内容会报错 需要先导入再设置一下import matplotlibmatplotlib.use('TkAgg')from matplotlib import pyplot as plt或是添加设置到文件中vi ~/.matplotlib/matplotlibrcbackend: TkAgg 官...
原创
2018-11-11 11:20:31 ·
405 阅读 ·
0 评论