Can't install Conda environment

I am getting this error when I try to install the conda environment. I ran the command on a clean install of conda as per the instructions of the course without any other packages installed on the computer.



Can someone please help?



ERROR: conda error.png - Google Drive

I don't know how strict the course requirements are, but it seems your end goal is to install Ta-Lib. In my experience, Ta-Lib is hard to install and maintain compatibility with other packages. Instead, I went for talipp https://github.com/nardew/talipp which has exactly the same functionality while being more compatible with current Python packages. Good luck!

Hi David,



Can you try installing talib using the following command on your local system:

conda install -c conda-forge ta-lib

You can also refer to this blog for more detailed steps.



Also, you can run the notebooks on Google Colab



In Google Colab, you can run the following command to install talib:

url = 'https://anaconda.org/conda-forge/libta-lib/0.4.0/download/linux-64/libta-lib-0.4.0-h166bdaf_1.tar.bz2'
!curl -L $url | tar xj -C /usr/lib/x86_64-linux-gnu/ lib --strip-components=1
url = 'https://anaconda.org/conda-forge/ta-lib/0.4.19/download/linux-64/ta-lib-0.4.19-py310hde88566_4.tar.bz2'
!curl -L $url | tar xj -C /usr/local/lib/python3.10/dist-packages/ lib/python3.10/site-packages/talib --strip-components=3
import talib

This should run without any error, and you will be able to use talib.



Please let us know if you are still facing any issues.