gpt4 book ai didi

python - 在 Anaconda 下的 Windows 10 中安装 ta-lib

转载 作者:太空宇宙 更新时间:2023-11-04 00:53:43 24 4
gpt4 key购买 nike

我刚刚尝试在 Windows 10 中安装 ta-lib使用 anaconda conda install -c r2d2 ta-lib当我在 ipython notebook 中执行 import talib 时,我得到:

ImportError Traceback (most recent call last)
<ipython-input-1-9bc7b4202a1f> in <module>()
----> 1 import talib

C:\Anaconda2\lib\site-packages\talib\__init__.py in <module>()
2 import atexit
3
----> 4 from . import common
5 from . import abstract
6 from .common import MA_Type, __ta_version__

ImportError: cannot import name common

最佳答案

我也在使用 Windows 10,这个命令对我来说效果很好:

conda install -c quantopian ta-lib=0.4.9

关于python - 在 Anaconda 下的 Windows 10 中安装 ta-lib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35974075/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com