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

前端 未结 10 2188
慢半拍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:00

    I had this issue and then uninstalled and reinstalled conda, and updated all packages through conda. But the issue persisted. I then did a conda uninstall of the offending package (in my case, this error appeared for both matplotlib and h5py), and then pip installed them. This seemed to have fixed the issue. Strangely, it would only give this error through the console. When run through a Jupyter notebook, I didn't see this error. Must be some difference between IPython and python.

提交回复
热议问题