Python TA-Lib install problems

后端 未结 10 1223
盖世英雄少女心
盖世英雄少女心 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:27

    I faced the same problems trying with Anaconda 5.1.0 and Python 3.6 via Visual Studio.

    The solution was to get a wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs, then install it via pip. You need to make sure the wheel matches your python version (in my case, 3.6).

    In Anaconda, I just opened a prompt, navigated to where the wheel was, and ran the following: python -m pip install TA_Lib-0.4.17-cp36-cp36m-win_amd64.whl

    For Visual Studio, it was more obtuse. Go to the Python Environments tab, choose 'Overview' in the dropdown, then `Open in PowerShell'. At that point, run the same command as for ANaconda above.

提交回复
热议问题