python便携matplotlib.gif格式没有这样的文件或目录

2024-06-01 18:24:11 发布

您现在位置:Python中文网/ 问答频道 /正文

因此,我的USB上有Python Portable 2.7.5.1(每个选项都安装了,包括Matplotlib),每当我试图用Matplotlib代码运行脚本时,都会得到以下信息:

TclError: couldn't open "*path*\Portable Python 2.7.5.1\App\lib\site-    
packages\matplotlib\mpl-data\images\matplotlib.gif": no such file or directory

提到的matplotlib.gif文件在指定的目录中, 所以我不知道该怎么做才能让它成功。。。在


Tags: path脚本信息appmatplotlib选项opengif