You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from PyFin.Math.Accumulators.StatefulAccumulators import MovingCorrelationMatrix
from PyFin.Analysis.TechnicalAnalysis.StatefulTechnicalAnalysers import SecuritySingleValueHolder
`导入这个找不到
出现这个错误 from PyFin.Math.Accumulators.StatefulAccumulators import MovingCorrelationMatrix ImportError: cannot import name 'MovingCorrelationMatrix' from 'PyFin.Math.Accumulators.StatefulAccumulators' (I:\Miniconda\envs\mycode\lib\site-packages\finance_python-0.7.3-py3.7-win-amd64.egg\PyFin\Math\Accumulators\StatefulAccumulators.cp37-win_amd64.pyd)
我用人家的库,需要有Finance-Python这个库,怎么安装好了老是出这种导入不了的错误啊.
`# -- coding: utf-8 --
from PyFin.Math.Accumulators.StatefulAccumulators import MovingCorrelationMatrix
from PyFin.Analysis.TechnicalAnalysis.StatefulTechnicalAnalysers import SecuritySingleValueHolder
`导入这个找不到
出现这个错误
from PyFin.Math.Accumulators.StatefulAccumulators import MovingCorrelationMatrix ImportError: cannot import name 'MovingCorrelationMatrix' from 'PyFin.Math.Accumulators.StatefulAccumulators' (I:\Miniconda\envs\mycode\lib\site-packages\finance_python-0.7.3-py3.7-win-amd64.egg\PyFin\Math\Accumulators\StatefulAccumulators.cp37-win_amd64.pyd)
我用人家的库,需要有Finance-Python这个库,怎么安装好了老是出这种导入不了的错误啊.
而且这个我去找那个py文件里面就是这个?
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, 'StatefulAccumulators.cp37-win_amd64.pyd') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
我是不是什么没安装呀,我感觉这个库怪怪的一点都看不懂^_^!The text was updated successfully, but these errors were encountered: