ta-lib 安裝失敗,error: Microsoft Visual C++ 14.0 is required.

  即使安裝c++要佔用c盤4G,而且仍然有可能報錯,

  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

另一種解決方法是直接下載whl,省去編譯的過程

https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib

有可能下載比較慢,這裏提供一個

TA_Lib‑0.4.18‑cp36‑cp36m‑win_amd64.whl

https://mp.csdn.net/console/upDetailed

 

TA-Lib,全稱“Technical Analysis Library”, 即技術分析庫,是Python金融量化的高級庫,涵蓋了150多種股票、期貨交易軟件中常用的技術分析指標,如MACD、RSI、KDJ、動量指標、布林帶等等。TA-Lib可分爲10個子板塊:Overlap Studies(重疊指標),Momentum Indicators(動量指標),Volume Indicators(交易量指標),Cycle Indicators(週期指標),Price Transform(價格變換),Volatility Indicators(波動率指標),Pattern Recognition(模式識別),Statistic Functions(統計函數),Math Transform(數學變換)和Math Operators(數學運算),


參考:https://www.jianshu.com/p/7ecc7962d638
 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章