Package not found error: while installing pytorch

Hi,
I am trying to install pytorch version 1.6 using the below command
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch
but I am getting the following error

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

  - torchvision==0.7.0
  - pytorch==1.6.0

Current channels:

  - https://conda.anaconda.org/pytorch/linux-ppc64le
  - https://conda.anaconda.org/pytorch/noarch
  - https://ftp.osuosl.org/pub/open-ce/current/linux-ppc64le
  - https://ftp.osuosl.org/pub/open-ce/current/noarch
  - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda-early-access/linux-ppc64le
  - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda-early-access/noarch
  - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/linux-ppc64le
  - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/noarch
  - https://repo.anaconda.com/pkgs/main/linux-ppc64le
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-ppc64le
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-ppc64le
  - https://repo.anaconda.com/pkgs/r/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 don’t understand where I am doing wrong.

Hi,

I had the same issue recently, when trying to install with python 3.10 , downgrading python to 3.9 did the trick for me.

What OS & python version are you using?

Cheers,
K.