I am running the individual version of Anaconda3 on Windows 10. It installed python 3.9.7.
When I go to Environments and search for pytorch, I get three results. I selected the pytorch package.
Here was the resulting error:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
- pytorch → python[version=’>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0’]
Your python: python=3.9
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
Pytorch, even the newest one, 1.6.0, could only be installed with python that is lower than 3.9 unfortunately.
There is no pytorch version that is available for python 3.9.x yet.
If you were to run
conda search pytorch --info
at the bottom, you’ll get this.
pytorch 1.6.0 cpu_py38h538a6d7_0
file name : pytorch-1.6.0-cpu_py38h538a6d7_0.conda
name : pytorch
version : 1.6.0
build : cpu_py38h538a6d7_0
build number: 0
size : 99.3 MB
license : BSD 3-Clause
subdir : win-64
url : https://repo.anaconda.cloud/repo/main/win-64/pytorch-1.6.0-cpu_py38h538a6d7_0.conda
md5 : 81f77f1d690157224b3b8b3a919d9a0d
timestamp : 2020-08-02 14:16:52 UTC
- _pytorch_select 0.1
- blas 1.0 mkl
- mkl 2019.*
- mkl >=2019.4,<2021.0a0
- mkl-service >=2,<3.0a0
- numpy >=1.11.3,<2.0a0
- python >=3.8,<3.9.0a0
- vc >=14.1,<15.0a0
- vs2015_runtime >=14.16.27012,<15.0a0
Thank you for the reply.
I had to downgrade my python version but conda was able to adjust everything.