在安装abu量化系统中遇到问题
用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: 找不到指定的模块。 建议你重新装一下,一个模块一个模块的装
在导入模块的时候发现还少了好多其他的依赖模块,少那个就安装那个,我这儿是成功了没有报错了
页:
[1]