matplotlib使用时报错RuntimeError: Python is not installed as a framework(一)

笔者在第一次安装matplotlib后运行时出现报错。 1 import matplotlib as mlb 2 from matplotlib import pylab as pl 3 4 5 x = [1,3,5,7,6,9,10,13,16] 6 y = [3,4,5,7,9,0,1,2,3] 7 8 pl.plot(x,y) 9 pl.show() 报错内容 RuntimeError
相关文章
相关标签/搜索