The only solution that worked for me is this: https://github.com/afnhsn/TA-Lib_x64
- Download "ta-lib x64.zip" from github above.
Extract zip file to
C:\, so it looks like thisC:\ta-lib - Download Visual C++ build tools 2022: https://aka.ms/vs/17/release/vs_buildtools.exe
- Install Visual C++ build tools: https://stackoverflow.com/a/54136652/10997732
- Install ta-lib:
pip install ta-lib
» pip install TA-Lib
The only solution that worked for me is this: https://github.com/afnhsn/TA-Lib_x64
- Download "ta-lib x64.zip" from github above.
Extract zip file to
C:\, so it looks like thisC:\ta-lib - Download Visual C++ build tools 2022: https://aka.ms/vs/17/release/vs_buildtools.exe
- Install Visual C++ build tools: https://stackoverflow.com/a/54136652/10997732
- Install ta-lib:
pip install ta-lib
It should be noted that installing a wheel made for an older Python version (e.g. 3.10), but the correct architecture (e.g. win64) is probably going to work for you. This can be done using pip install <path to .whl file>. The main downside of this approach is that the prebuilt wheel you're using could be somewhat outdated.
Here's what I did to build it myself on a "clean" system:
Install the following 3 components from the VS2022 installer:

Follow the instructions for building using
nmakequoted in the OP. [src]pip install TA-Lib
If you don't want to do any of that, I've uploaded my built wheel here.
Videos
» pip install TA-Lib-Precompiled
» pip install ta-lib-bin