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

Win 10 - Can't Import Ta-lib even succesfully installed #556

Closed KKKRIANGKRAI closed 7 months ago

KKKRIANGKRAI commented 1 year ago

Hello all,

My first time here. Could anyone help me?

I installed the Ta-lib using the whl file TA_Lib-0.4.24-cp310-cp310-win_amd64.whl and it shows 'Successfully installed TA-Lib-0.4.24' When I try to import talib into jupyter notebook, an error occurs: ModuleNotFoundError: No module named 'talib'

I also tried running 'import talib' in the terminal, no error Can anyone help me with this issue?

mrjbq7 commented 1 year ago

It's important that you install the whl into the same python interpreter you want to use it with.

Sometimes if you install with pip install, the pip is linked to a different python than python is.

So, I suggest trying to python -m pip install and then immediately try python to import talib.

mrjbq7 commented 7 months ago

Closing old issue.