I am trying to importTA-Lib in python but getting an error:
Traceback (most recent call last): File "", line 1, in File "/home/arque/anaconda3/lib/python3.6/site-packages/talib/init.py", >line 43, in from ._ta_lib import ( ModuleNotFoundError: No module named 'talib._ta_lib'
Steps that I follow to install:
1. wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
2. tar -xzf ta-lib-0.4.0-src.tar.gz
3. cd ta-lib/
4. ./configure --prefix=/usr
5. make
6. sudo make install
7. pip install TA-Lib
TA-Lib
successfully installed but when I'm trying to import the same, getting the error mentioned above.
Also tried the solutions given here but didn't work.
Using Linux Ubuntu 32bit and python 3.6
Any help and suggestions are welcome.
This is the process I used to fix the problem when I got this error - however I'm using a 64-bit Windows installation, so you'll need to make some changes along the way!
Hope this helps :)