vn.py官网
开源量化社区
Member
avatar
加入于:
帖子: 4
声望: 0

报错提示:Symbol not found: _TA_ACOS。求助

完整报错信息如下:

In [1]: import talib as tl

ImportError Traceback (most recent call last)

<ipython-input-1-dc6920eb95e2> in <module>
----> 1 import talib as tl

~/anaconda3/envs/quant/lib/python3.7/site-packages/talib/init.py in <module>
50 return wrapper
51
---> 52 from ._ta_lib import (
53 _ta_initialize, _ta_shutdown, MA_Type, ta_version,
54 _ta_set_unstable_period as set_unstable_period,

ImportError: dlopen(/Users/colin/anaconda3/envs/quant/lib/python3.7/site-packages/talib/_ta_lib.cpython-37m-darwin.so, 2): Symbol not found: _TA_ACOS
Referenced from: /Users/colin/anaconda3/envs/quant/lib/python3.7/site-packages/talib/_ta_lib.cpython-37m-darwin.so
Expected in: flat namespace
in /Users/colin/anaconda3/envs/quant/lib/python3.7/site-packages/talib/_ta_lib.cpython-37m-darwin.so

Member
avatar
加入于:
帖子: 470
声望: 25

如果使用pip下载报错可以尝试用conda install -c conda-forge ta-lib

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3

沪公网安备 31011502017034号