用cmd命令pip install abupy, 然后对应的pip install lxml,matplotlib。
然后再python界面输入from abupy import ABuSymbolPd
出现错误:
Traceback (most recent call last):
File "<pyshell#41>", line 1, in <module>
from abupy import ABuSymbolPd
File "D:\python\lib\site-packages\abupy\__init__.py", line 4, in <module>
from .CoreBu import *
File "D:\python\lib\site-packages\abupy\CoreBu\__init__.py", line 4, in <module>
from .ABuFixes import *
File "D:\python\lib\site-packages\abupy\CoreBu\ABuFixes.py", line 14, in <module>
import matplotlib
File "D:\python\lib\site-packages\matplotlib\__init__.py", line 174, in <module>
_check_versions()
File "D:\python\lib\site-packages\matplotlib\__init__.py", line 159, in _check_versions
from . import ft2font
ImportError: DLL load failed while importing ft2font: 找不到指定的模块。
网上找了各种解决方法,诸如更换matplotlib版本等,都无解,求助。
另外输入from matplotlib import ft2font,也显示错误
Traceback (most recent call last):
File "<pyshell#46>", line 1, in <module>
from matplotlib import ft2font
File "D:\python\lib\site-packages\matplotlib\__init__.py", line 174, in <module>
_check_versions()
File "D:\python\lib\site-packages\matplotlib\__init__.py", line 159, in _check_versions
from . import ft2font
ImportError: DLL load failed while importing ft2font: 找不到指定的模块。