I have Windows 7.
For some reason, f2tfont.cpp does not compile when installing matplotlib (through pip
), hence, the matplotlib install fails. Also, the matplotlib installer cannot find a Python installation.
See comments here for further details on the problem.
Sign in to your account On some Windows machines (including Windows 10 and Windows 7), we experienced ImportError: DLL load failed: The specific module could not be found after upgrading from Matplotlib 3.3.0 to 3.3.1. import matplotlib would trigger the import error while trying to import ft2font.
Error ImportError: DLL load failed: Reasons & Fixes : Sometimes it happens if there are multiple versions of Python installed. Uninstall the not reuqired version or use Python Virtual Environment (virtualenv) to separate Multiple Python versions. Try reinstalling Python – You can try native Python or Anaconda Python.
The Python interpreter itself can run on almost all operating systems. Many users may use it on a Windows computer. But some users report that they have encountered module not found error Python. The error usually gives you the following message: ImportError: Dll Load Failed: The specified module could not be found.
For some reason, f2tfont.cpp does not compile when installing matplotlib (through pip ), hence, the matplotlib install fails. Also, the matplotlib installer cannot find a Python installation. See comments here for further details on the problem. These following commands worked for me. I think problem is with the new matplotlib version 3.3.1.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With