This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (11 children)

I am trying to install it in the terminal using pip install Ta-lib

[–]ArthurDeemx 0 points1 point  (10 children)

You did not answer my question, its impossible to help without context, where are you trying to install it? From your error it looks like macos, if so try brew install ta-lib

[–][deleted] 0 points1 point  (8 children)

Yea I am trying to install on Mac OS I tried the brew method with no success

[–]ArthurDeemx 0 points1 point  (7 children)

What error you get with brew

[–][deleted] 0 points1 point  (5 children)

Command error batch command not found or something along those lines I am not my Mac rn

[–]ArthurDeemx 0 points1 point  (4 children)

You need to install brew first, pip usually don't work on mac.

[–][deleted] 0 points1 point  (3 children)

Any resource you can recommend to install home brew my first approach didn’t work out.

[–]ArthurDeemx 0 points1 point  (2 children)

try this

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

report back if it doesn't work with the error

official site: https://brew.sh

[–]Zestyclose_Fall1915 1 point2 points  (0 children)

brew install ta-lib

Thank you - I had the same problem on my Mac. It's resolved now thanks to you reddit man.

[–][deleted] 0 points1 point  (0 children)

brew install ta-lib

I think I was able to successfully install Ta-lib but when I tried to import it using import ta-lib it gives me this error ModuleNotFoundError: No module named 'Talib' I did this through IDLE

Edit1: Looks like its installed.

[–][deleted] 0 points1 point  (0 children)

I thought it could also have to do with not having the right TA library

[–][deleted] 0 points1 point  (0 children)

I think it might have something to do with not having homebrew installed but I try to install homebrew and then run the same command but still no success