TA-lib installation

Course Name: Python For Trading!, Section No: 5, Unit No: 13, Unit type: Document



Hi team!!



I am not able to install talib, I try a lof of things,



I have used brew with no problem



brew install ta-lib



Bur then when i executed 



pip install ta-lib



I get thid error 


 

1 error generated.

    error: command 'gcc' failed with exit status 1


I also tried with anaconda and I have a problem version
 

UnsatisfiableError: The following specifications were found

to be incompatible with the existing python installation in your environment:

 

Specifications:

 

  - ta-lib -> python[version='2.7.*|3.4.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|3.3.*']

 

Your python: python=3.8



Could you help me,please.

Thanks!!
Paco

 

Can check out this article. It discusses step by step installation of Ta-Lib in Python. 

Sorry Vibhu,



I read this article serveral times and I don´t find the solution there.it is an old article.



Thanks



Best

Hi Paco,



Please try adding the following after brew installation and before you do brew install ta-lib

"brew install gcc"



Let me know if that works for you!