Python TA-Lib install problems

后端 未结 10 1195
盖世英雄少女心
盖世英雄少女心 2020-12-31 19:55

Frustratingly having a lot of difficult installing the TA-Lib package in python.

https://pypi.python.org/pypi/TA-Lib

I have read through all the forum posts

10条回答
  •  长发绾君心
    2020-12-31 20:13

    Had to spend good amount of time even with so many people facing the same issue. Long story short WINDOWS ***T. I am on Windows 10 running python3.7

    Enough of ranting here are the steps that worked for me

    1. Install Visual C++ Build tools (https://www.youtube.com/watch?v=P4_R34Lb-PE) https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
    2. While installing Build tools make sure you have selected Windows10 SDK that resolved some io.h file not found error. I had to modify the installation multiple times by adding Visual C++ components.
    1. After this pip3 install ta-lib or python3 -m pip install ta-lib didn't work. What worked was downloading those .whl files as mentioned above [https://www.lfd.uci.edu/~gohlke/pythonlibs] and since I have python3.7 I had to select the one with cp37 (TA_Lib-0.4.18-cp37-cp37m-win_amd64.whl) in it.

    I hope I am not missing any step but by the time I figured above steps I was 4 hours older.

提交回复
热议问题