Error message installing ta-lib

ERROR: Command errored out with exit status 1: 'C:\Users\FFC\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\FFC\AppData\Local\Temp\pip-install-ep6fhfkd\ta-lib\setup.py'"'"'; file='"'"'C:\Users\FFC\AppData\Local\Temp\pip-install-ep6fhfkd\ta-lib\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\FFC\AppData\Local\Temp\pip-record-23bzgrug\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\FFC\anaconda3\Include\ta-lib' Check the logs for full command output.

Hi Michael,



You can try conda install -c conda-forge ta-lib in the Anaconda prompt.



If you still face the issue, please send the full error message.



Thanks!


(base) C:\Users\FFC>conda install -c conda-forge ta-lib
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - ta-lib

Current channels:

  - https://conda.anaconda.org/conda-forge/win-32
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/win-32
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/win-32
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://repo.anaconda.com/pkgs/msys2/win-32
  - https://repo.anaconda.com/pkgs/msys2/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Use the below command to add the conda-forge channel to your list of channels.

conda config --append channels conda-forge

Once this is done, can install Talib using 
conda install -c conda-forge ta-lib
Hope that resolves your issue.

 Still no joy. However, I just discovered that I installed 32 bit Anaconda but my machine is 64. Could this be the source of the problem?



If I uninstall Anaconda32 and reinstall 64, will I lose Jupityr notebooks created in Anaconda environment?

Great, try the above command after installing Anaconda 64.



No, you won't lose the existing Jupyter notebook as long as you delete it. 

Having trouble establishing a stable Anaconda environment. Anaconda disabled after installing ta-lib. This process is impossibly slow. Is there any way to get help establishing a stable work environment?