'How to install TA-lib to Windows 10 machine

I have a Windows 10 64bit machine with Python 3.8.5 installed. I tried downloading ta-lib from https://mrjbq7.github.io/ta-lib/install.html and followed the instructions.

Step 1: Dependencies > Windows > downloaded the zip file.

Step 2: extracted to C:\ta-lib, as per their webpage.

Step 3: VS Code > terminal: pip install TA-Lib.

then the following error shows:

error message

I have tried the following:

  1. I had Python 3.9.6, and it failed. Read a similar problem where the solution was to get pythong 3.8 or older. So installed that and tried again and failed.

  2. tried using: pip install --user TA-Lib.

  3. made sure the PATH for Python is there when I reinstalled Python 3.8.5

  4. also tried installing ta-lib through command-prompt

Below attachments are for truf:

error message 2

filepath



Solution 1:[1]

So I went to youtube to follow another method:

https://www.youtube.com/watch?v=-tHCAEZzUhc

I used method 1 from the video.

method 1: https://www.lfd.uci.edu/~gohlke/pythonlibs/

method 2: https://pypi.anaconda.org/masdeseiscaracteres/simple/

TA-Lib installed successfully.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 leadbassist