from matplotlib import ft2font: “ImportError: DLL load failed: The specified procedure could not be found.”

前端 未结 10 2196
慢半拍i
慢半拍i 2020-11-30 10:13

I have Windows 7.

For some reason, f2tfont.cpp does not compile when installing matplotlib (through pip), hence, the matplotlib install fails. Also, the

10条回答
  •  天命终不由人
    2020-11-30 11:04

    These following commands worked for me. I think problem is with the new matplotlib version 3.3.1. I downgraded to matplotlib 3.0.3.

    I uninstalled the newer version, then reopen command prompt and installed matplotlib 3.0.3. It's worked for me. I am not sure if it will work for you, so I recommend to check out the discussion.

    pip uninstall matplotlib
    pip install matplotlib==3.0.3
    

提交回复
热议问题