2

I want to install torch version 1.2.0, as I want to use biobert-embeddings, which seems to require pytorch 1.2.0, as when I am trying to install biobert-embeddings using pip3 install biobert-embedding, I am getting an error saying

ERROR: Could not find a version that satisfies the requirement torch==1.2.0 (from versions: 0.1.2, 0.1.2.post1, 0.1.2.post2, 1.4.0, 1.4.0+cpu, 1.4.0+cu100, 1.4.0+cu92, 1.5.0, 1.5.0+cpu, 1.5.0+cu101, 1.5.0+cu92, 1.5.1, 1.5.1+cpu, 1.5.1+cu101, 1.5.1+cu92, 1.6.0, 1.6.0+cpu, 1.6.0+cu101, 1.6.0+cu92) ERROR: No matching distribution found for torch==1.2.0

When I am trying to install torch==1.2.0, am getting the same error.

2
  • 3
    Ubuntu 20.04 comes with Python 3.8. torch 1.2 officials runs on Python up to 3.7. Commented Oct 10, 2020 at 3:44
  • @KlausD. Thank you for clarifying :) Commented Oct 10, 2020 at 4:36

1 Answer 1

0

Try using this command:

> pip3 install torch torchvision torchaudio

This works in my environment.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.