import matplotlib._png as _png Import: Error: DLL load failed: The specified module could not be found

后端 未结 9 1340
灰色年华
灰色年华 2021-02-07 06:20

I use the Anaconda Python distribution: Python 2.7 x64 with Windows 7 SP1 x64 Ultimate.

When I do import matplotlib.pyplot I get ImportError: DLL load

9条回答
  •  梦毁少年i
    2021-02-07 07:03

    Try downgrading to a lower version, this command worked for me:

    conda install libpng=1.6.22
    

    This downgrades matplotlib and some other packages too, but seems to play well together.

提交回复
热议问题