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
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.
» pip install TA-Lib-Precompiled
» pip install TA-lib-zipline
» pip install TA-Lib
You could try the "Unofficial Windows Binaries for Python Extension Packages by Christoph Gohlke, Laboratory for Fluorescence Dynamics, University of California, Irvine."
http://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib
He has different versions compiled depending on OS and Python versions. You probably need TA_Lib‑0.4.10‑cp35‑cp35m‑win_amd64.whl
Good luck.
Download ta-lib-0.4.0-msvc.zip from http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-msvc.zip and unzip to C:\ta-lib
This is a 32-bit release. If you want to use 64-bit Python, you will need to build a 64-bit version of the library.
Some unofficial (and unsupported) instructions for building on 64-bit Windows 10, here for reference:
Download and Unzip
ta-lib-0.4.0-msvc.zipMove the Unzipped Folder
ta-libtoC:\Download and Install Visual Studio Community 2015 or 2017 - have to do the big install i'm afraid - no other way
Remember to Select [Visual C++] Feature
- Build TA-Lib Library - From Windows Start Menu, Start [VS2015 x64 Native Tools Command Prompt]
cd to C:\ta-lib\c\make\cdr\win32\msvc
Build the Library by typing nmake
- Try installing
ta-libagain frompipor pycharm etc...