I have recently installed anaconda on my MacBook Pro (M2) and its version and python’s version are “23.9.0” and “3.11.6” respectively. I need python 2.7 as well. So, according to
conda create --name py2 python=2.7 but it does not work and gives me this:
Collecting package metadata (current_repodata.json): done Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels: - python=2.7
I also did
conda create --override-channels -c defaults -n py27 python=2.7 according to GitHub community but still it does not work. Could you please help me with this? I appreciate your help in advance. Thanks.