0

I am trying to create a new python enviroment with python=3.6 by using the following command conda create --prefix ./env python=3.6 but every time i am getting this error Following packages are not available from current channels. But when i try with different python version like Python=3.8, 3.9 it works

    (base) hassaanzahid@Hassaans-MacBook-Pro VTuber_Unity-master % conda create --prefix ./env python=3.6
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - python=3.6

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/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.

I am also getting the same error while trying some of the python packages with these specific versions numpy<1.17, opencv-python>4, torch<=1.2.0, scipy>0.16

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

  - opencv-python[version='>4']
  - numpy[version='<1.17']
  - torch[version='<=1.2.0']

Current channels:

  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch
  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/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.

I have tried some of the solutions provided online but doesn't worked for me

conda config --append channels conda-forge
conda install -c conda-forge <package>

0 Answers0