Import Ta-Lib


please, reply with instructions to install talib

Thank you

If you are using windows, use this link and download the appropriate .whl file based on your Python version and processor.
Open the command prompt in the same path where you have stored the .whl file and run the following command for example:

pip install TA_Lib-0.4.10-cp27-cp27m-win32.whl

TA_Lib-0.4.10-cp27-cp27m-win32 is the name of the file you downloaded.

If no error appears, then the installation is successful.

For Mac, you can follow these steps:
 
In a Terminal window: (Install the OS dependencies)

brew install ta-lib

And then install Talib:

!pip install TA-Lib

Now, it’s important to assure that Spyder is working with the environment where you have installed the library.