Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.3K
Views
Issues installing PyTorch 1.4 - "No matching distribution found for torch===1.4.0"

Used the install guide on pytorch.org on how to install it and the command I'm using is

pip install torch===1.4.0 torchvision===0.5.0 -f https://download.pytorch.org/whl/torch_stable.html

But it's coming up with this error;

ERROR: Could not find a version that satisfies the requirement torch===1.4.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2)

ERROR: No matching distribution found for torch===1.4.0

Is this even a me-related issue? Can other people use this command?

Pip is installed and works for other modules, Python 3.8, CUDA version 10.1, Windows 10 Home 2004

over 4 years ago · Santiago Trujillo
9 answers
Answer question

0

Looks like this issue is related to virtual environment. Did you try recommended installation line in another/new one virtual environment? If it doesn't help the possible solution might be installing package using direct link to PyTorch and TorchVision builds for your system:

pip install https://download.pytorch.org/whl/cu101/torch-1.4.0-cp38-cp38-win_amd64.whl

pip install https://download.pytorch.org/whl/cu101/torchvision-0.5.0-cp38-cp38-win_amd64.whl
over 4 years ago · Santiago Trujillo Report

0

check your python version, my version is python 3.8.2 and it can't find a torch version matched the py version. And I use a 3.7.6 now, I suppose the version below 3.8 would be fine

over 4 years ago · Santiago Trujillo Report

0

I had same problem and python -m pip install --upgrade pip setuptools wheel worked for me and https://packaging.python.org/tutorials/installing-packages/ may be useful for some package installation problems.

over 4 years ago · Santiago Trujillo Report

0

I faced the same issue, according to https://pytorch.org/ the best option is to install everything via conda:

conda install pytorch torchvision cudatoolkit=10.2 -c pytorch

over 4 years ago · Santiago Trujillo Report

0

It could be a syntax issue, because you are using === instead of == in your pip install command.

over 4 years ago · Santiago Trujillo Report

0

I found the right solution that could solve this issue:

Reinstall pytorch from here: https://pytorch.org/get-started/locally/#mac-package-manager

Make sure the torch version is 1.4.0 if it's not run the following command:

pip install syft -f https://download.pytorch.org/whl/torch_stable.html

Now, you can download syft successfully:

pip install syft

to check the version of packages: conda list

over 4 years ago · Santiago Trujillo Report

0

In my case, its reason was related compiled version (32/64) I have installed a 32bit version but PyTorch's wheel only provides a 64bit version.

No problem on your command check python version and reinstall the 64bit version.

over 4 years ago · Santiago Trujillo Report

0

I tried pip, only got it working with conda

conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.1 -c pytorch
over 4 years ago · Santiago Trujillo Report

0

In the future, I would recommend using the installation widget on the PyTorch website.

It fixed this issue for me by extending the command with -f as follows:

pip install torch===1.6.0 torchvision===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!