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

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

    As specified in PEP 11, a Python release only supports a Windows platform while Microsoft considers the platform under extended support. This means that Python 3.7 supports Windows Vista and newer. If you require Windows XP support then please install Python 3.4.

    1. For Python 3.6+ you need to have Windows Service Pack 1 installed.

    In case Windows Service Pack isn't installed. You can download Windows 7 Service Pack 1 (SP1) manually from here or also you can download it from Windows Update of Windows 7.

    1. Python needs the Microsoft C runtime for Visual Studio 2015, especially the file ucrtbase.dll.

    So, you need to install Microsoft Visual C++ redistribution 2015 from here.

    You don't need to install Microsoft Visual Studio just C++ redistributions of 2015 will do the job.

提交回复
热议问题