Could not install Python onto MacOS

In terminal CMD I get the following:





Collecting package metadata (repodata.json): done

Solving environment: failed



LibMambaUnsatisfiableError: Encountered problems while solving:

  - package ta-lib-0.4.19-py39h8a366b7_4 requires numpy >=1.21.6,<2.0a0, but none of the providers can be installed



Could not solve for environment specs

The following packages are incompatible

├─ numpy 1.19.5 is installable with the potential options

│  ├─ numpy [1.19.5|1.21.6|…|1.24.4] would require

│  │  └─ python_abi 3.8.* _cp38, which can be installed;

│  ├─ numpy [1.19.5|1.21.6|…|1.24.3] would require

│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;

│  └─ numpy 1.19.5, which can be installed;

├─ python 3.9.5 is not installable because it requires

│  └─ python_abi 3.9.
*_cp39, which conflicts with any installable versions previously reported;

└─ ta-lib 0.4.19 is installable with the potential options

   ├─ ta-lib 0.4.19 would require

 

Hi Robert,



The error might be due to some library conflicts in Anaconda. To resolve this, I would suggest you remove Anaconda's current version (basically, do a clean uninstall) and install the following version. 



Anaconda3-2022.05-MacOSX-arm64.pkg



After this, you can retry creating the environment, and it should work.

Thanks.



Have tried installing on 3-4 separate occassions and get @Installation Failed! messages. I have uninstalled previous install. 



I am runing MacOS Sonoma 14.5 on a Mackbook Air M2

Hi Robert,



This issue was discussed and resolved.