I have a problem when trying to install ta-lib in the command prompt and got the following message in it. Any idea to solve the issue?
(base) C:\Users\LEGION>conda install -c quantopian ta-lib
Collecting package metadata (current_repodata.json): done Solving environment: / The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency:
- defaults/win-64::anaconda==2019.07=py37_0
- defaults/win-64::numba==0.44.1=py37hf9181ef_0 failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: - Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found \ to be incompatible with the existing python installation in your environment:
Specifications:
- ta-lib -> python[version='2.7.|3.5.|>=3.5,<3.6.0a0']
- ta-lib -> python[version='>=2.7,<2.8.0a0']
Your python: python=3.7
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.
The following specifications were found to be incompatible with each other:
Package msgpack-python conflicts for:
ta-lib -> python=2.7 -> pip -> cachecontrol -> msgpack-python Package ca-certificates conflicts for: ta-lib -> python=2.7 -> ca-certificates python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a'] -> ca-certificates Package pip conflicts for: ta-lib -> python=2.7 -> pip python=3.7 -> pip Package setuptools conflicts for: python=3.7 -> pip -> setuptools ta-lib -> python=2.7 -> pip -> setuptools Package certifi conflicts for: python=3.7 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26'] ta-lib -> python=2.7 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26|>=2017.4.17'] Package wheel conflicts for: python=3.7 -> pip -> wheel ta-lib -> python=2.7 -> pip -> wheel Package wincertstore conflicts for: python=3.7 -> pip -> setuptools -> wincertstore[version='>=0.2'] ta-lib -> python=2.7 -> pip -> setuptools -> wincertstore[version='>=0.2']
I have tried the following ones but no one works for me: I am using ANACONDA
conda install TA-Lib
pip install TA-Lib