Matplotlib created a temporary config/cache directory at C:\Users\xx\AppDat...
Matplotlib created a temporary config/cache directory at C:\Users\xx\AppData\Local\Temp\matplotlib-r0eiymff because the default path (C:\Users\xx\.matplotlib) is not a writable directory; ihighly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.做迭代的时候遇到的,这怎么解决呢
百度到的解决方法试试看:
import os
os.environ['MPLCONFIGDIR'] = os.getcwd() + "/configs/"
import matplotlib.pyplot as plt Twilight6 发表于 2022-11-8 14:24
百度到的解决方法试试看:
我用管理者权限打开了 Twilight6 发表于 2022-11-8 14:24
百度到的解决方法试试看:
这串代码是什么意思呢
页:
[1]