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

后端 未结 9 1319
灰色年华
灰色年华 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条回答
  • 2021-02-07 07:16

    I fixed this on my Windows machine by adding [Anaconda]/Library/bin to my PATH.

    0 讨论(0)
  • 2021-02-07 07:17

    I fixed this by installing libpng:

    conda install libpng
    
    0 讨论(0)
  • 2021-02-07 07:19

    Earlier I was also facing the same issue which is resolved by downloading the latest supported Visual C++ downloads redistributable files.

    Link: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

    0 讨论(0)
提交回复
热议问题