TA-Lib / ta-lib-python

Python wrapper for TA-Lib (http://ta-lib.org/).
http://ta-lib.github.io/ta-lib-python
Other
9.46k stars 1.74k forks source link

ta-lib will install but not run in MacOs BigSur #525

Closed datatalking closed 2 years ago

datatalking commented 2 years ago

I've tried downloading and installing ta-lib but all the instructions I found were for windows, then I found this repo so I followed the instructions below and it still will not run.

The issues section is filled with installation errors, what is so delicate about this library vs numpy, pandas or so many others that are easy to install and run?

Installation

'$ python3 -m pip install TA-Lib it' done but can't access it.

'$ conda install -c conda-forge ta-lib' done but cant access it.
Screen Shot 2022-06-28 at 4 59 00 AM

I'm running this in PyCharm with the same output as I get in the ipython terminal

Screen Shot 2022-06-28 at 5 10 08 AM
mrjbq7 commented 2 years ago

Well...

To start the python module is import talib (not ta-lib)

It's not particularly delicate, it just requires the third party library (https://ta-lib.org) to be installed first. We are working on bundling it in future releases, although that has it's own complications. The other main errors seem to be using 64-bit windows, which has always been fragile, but particularly when there aren't 64-bit binaries of the third party library made available, and mixed architecture issues on Apple Silicon running rosetta and native environments together.

mrjbq7 commented 2 years ago

It installs fine on macOS.