Skip to content

TclErro : could not open matplotlib.gif #5388

@zsynacl

Description

@zsynacl

Hi everyone, I used matplotlib in my project but I encounted a problem and I can't know what happend exactly. Here is my command line:

App\python.exe file\contour.py "C:\Documents and Settings\fanping\桌面\FOR3D_PARALLEL\print.out" 0 15000

and when I excuted, I got an error:

    self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: 
couldn't open "C:\Documents and Settings\fanping\桌面\FOR3D_PARALLEL\程序源码\PFOR3D\Release\For3D_Demo\PortablePython\App\lib\site-packages\matplotlib\mpl-data\images\matplotlib.gif":
no such file or directory

current directory is

C:\Documents and Settings\fanping\桌面\FOR3D_PARALLEL\程序源码\PFOR3D\Release\For3D_Demo\PortablePython>

I used this in Portable Python whose python version is 2.7.6 and the matplotlib version is 1.3.1. Actually I got a result when the environment path does not have any Chinese charactors. eg. C:\PortablePython\

looking forward to any solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions