Python TA-Lib install problems
you can proceed as follows:
Go to the following page: https://www.lfd.uci.edu/~gohlke/pythonlibs/#ta-lib
Choose your version of python:
cp35
means Python 3.5 (64 bit for example)Download the package and unzip in
...\Python\Python35\Scripts
Go on
cmd
and in the same directory (...\Python\Python35\Scripts
) execute the following command:pip3 install TA_Lib-0.4.17-cp35-cp35m-win_amd64.whl
installed!
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.zip
Move the Unzipped Folder
ta-lib
toC:\
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-lib
again frompip
or pycharm etc...
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.