2016-03-13 72 views
1

下,我只是想用蟒蛇conda install -c r2d2 ta-lib 安裝在Windows 10 TA-lib和我在IPython的筆記本做import talib,我得到:安裝TA-lib的在Windows 10蟒蛇

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 

回答

1

我也使用Windows 10,這個命令對我很好:

conda install -c quantopian ta-lib=0.4.9 
+0

什麼是python版本?我不能這樣做python3 –