在终点处运行下面的脚本
import matplotlib
print(matplotlib.matplotlib_fname())
/usr/local/Cellar/python/2.7.6/Frameworks/框架/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc
但在短信里运行我得到
/Users/myname/.matplotlib/matplotlibrc文件
什么在控制使用哪个matplotlibrc?我如何控制它?你知道吗
我使用brew安装了python-2.7。你知道吗
我找到了答案。我需要把
运行~/.profile可以读取的某个地方(例如在~/.profile中)。你知道吗
我不知道为什么不能自动找到。你知道吗
相关问题 更多 >
编程相关推荐