Python TA-Lib install problems

后端 未结 10 1196
盖世英雄少女心
盖世英雄少女心 2020-12-31 19:55

Frustratingly having a lot of difficult installing the TA-Lib package in python.

https://pypi.python.org/pypi/TA-Lib

I have read through all the forum posts

10条回答
  •  [愿得一人]
    2020-12-31 20:19

    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:

    1. Download and Unzip ta-lib-0.4.0-msvc.zip

    2. Move the Unzipped Folder ta-lib to C:\

    3. 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

    1. 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

    1. Try installing ta-lib again from pip or pycharm etc...

提交回复
热议问题