Skip to content

Instantly share code, notes, and snippets.

@mdalvi
Last active October 1, 2024 12:58
Show Gist options
  • Save mdalvi/e08115381992e42b43cad861dfe417d2 to your computer and use it in GitHub Desktop.
Save mdalvi/e08115381992e42b43cad861dfe417d2 to your computer and use it in GitHub Desktop.
ta-lib 64-bit Installation on Windows 10

Here are the instructions to build the 64-bit ta-lib.

Install TA-Lib C Library on Windows 10

  • Download and Unzip ta-lib-0.4.0-msvc.zip
  • Move the Unzipped Folder ta-lib to C:\
  • Download and Install Visual Studio Community 2015
  • Remember to Select [Visual C++] Feature
  • Build TA-Lib Library
  • From Windows Start Menu, Start [VS2015 x64 Native Tools Command Prompt]
  • Move to C:\ta-lib\c\make\cdr\win32\msvc
  • Build the Library nmake
  • Then pip3 install ta-lib
@buggingbug
Copy link

does anyone have the TA_Lib-0.4.19-cp39-cp39-win_amd64.whl?
The website : https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib does not work anymore.

@pvv1760
Copy link

pvv1760 commented Jun 15, 2023

does anyone have the TA_Lib-0.4.19-cp39-cp39-win_amd64.whl? The website : https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib does not work anymore.
Try this: TA_Lib‑0.4.24‑cp39‑cp39‑win_amd64.whl
I can send TA_Lib‑0.4.24‑cp39‑cp39‑win_amd64.whl (cp 39.zip ) to email. It does not attach here, there is no such format

@msheikhzadeh
Copy link

Can someone please email me this 'TA_Lib-0.4.19-cp39-cp39-win_amd64.whl' because this link "https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib" is not available anymore?

@Janiszzz
Copy link

For someone who find previous link is not available: maintainer has a github repo about unofficial ta-lib.
Release Page: https://github.com/cgohlke/talib-build/releases

@bagcivan
Copy link

bagcivan commented Nov 6, 2023

For someone who find previous link is not available: maintainer has a github repo about unofficial ta-lib. Release Page: https://github.com/cgohlke/talib-build/releases

thank you. this worked

@Jasur09
Copy link

Jasur09 commented Nov 21, 2023

For someone who find previous link is not available: maintainer has a github repo about unofficial ta-lib. Release Page: https://github.com/cgohlke/talib-build/releases

thank you. this worked

@celltronic01
Copy link

does anyone have the 64 bit file?? care to pls share? I can't find anything on the net. Searching for 2 days

Copy link

ghost commented Feb 19, 2024

For anyone who's having this trouble, for me re-installing my VS2019 community & re-extracting the files fixed the issue (I had the problem with my already installed VS2019 - manually installing build tools did not work). When installing VS2019, make sure you tick the box 'desktop development with c++' under desktop/mobile section. And then follow the instructions using x64 Native Tools Command Prompt for VS 2019.

This re-extracting the files worked for me. As of today I am on

  • Windows 11
Device name	WIN64G
Processor	AMD Ryzen 7 5700U with Radeon Graphics            1.80 GHz
Installed RAM	64.0 GB (63.3 GB usable)
System type	64-bit operating system, x64-based processor
Collecting ta-lib
  Using cached TA-Lib-0.4.28.tar.gz (357 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in c:\users\myuser\tools\python3.11\lib\site-packages (from ta-lib) (1.26.4)
Building wheels for collected packages: ta-lib
  Building wheel for ta-lib (pyproject.toml) ... done
  Created wheel for ta-lib: filename=TA_Lib-0.4.28-cp311-cp311-win_amd64.whl size=549242 sha256=2b95510589c7276096ecb03b153d67af241a4b68fc4f26b6428d66175d6a4a18
  Stored in directory: c:\users\myuser\appdata\local\pip\cache\wheels\d9\de\ed\b1158e807eaa66f5ad26b71bc21c664483665cb02889b641eb
Successfully built ta-lib
Installing collected packages: ta-lib
Successfully installed ta-lib-0.4.28

@MiladZarour
Copy link

@fuinyroot
I did the exact same as you did :

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for TA-lib Failed to build TA-lib ERROR: Could not build wheels for TA-lib, which is required to install pyproject.toml-based projects

not sure what it went wrong
now more than 3 hours trying to install pip install TA-lib , nothing is working...

Copy link

ghost commented Apr 21, 2024

@fuinyroot I did the exact same as you did :

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for TA-lib Failed to build TA-lib ERROR: Could not build wheels for TA-lib, which is required to install pyproject.toml-based projects

not sure what it went wrong now more than 3 hours trying to install pip install TA-lib , nothing is working...

I did not see the error above on my computer, well tried to search as bellow, hope it helps

@B1g-Tuna
Copy link

Thank you to everyone that commented here. Grateful to finally get it installed properly.

@issacnumb
Copy link

@davidpret13
Copy link

It seem the latest version of TA-Lib only works with Numpy < 2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment