question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No matching distribution found for torchrl

See original GitHub issue

Describe the bug

Unable to install torchrl on a fresh venv that uses the latest torch and cuda with python 3.8

ERROR: Could not find a version that satisfies the requirement torchrl (from versions: none)
ERROR: No matching distribution found for torchrl

To Reproduce

Created a fresh venv using Python 3.8 (I used Pycharm) I ran pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu117 on the terminal.

At this point pytorch works perfectly and with cuda.

I then ran pip3 install torchrl and got the error aforementioned.

Expected behavior

TorchRL should install without errors

System info

When I ran python on my venv:

Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32

My OS:

Windows 10 Professionnel 22H2

NVIDIA RTX 2060 Max-Q Driver 512.78

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have read the documentation (required)
  • I have provided a minimal working example to reproduce the bug (required)

Issue Analytics

  • State:open
  • Created 9 months ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
vmoenscommented, Dec 22, 2022

You’re right, we need to update the tensordict wheels

pip install git+https://github.com/pytorch-labs/tensordict
1reaction
vmoenscommented, Dec 22, 2022

I have the same problem on Mac OS

Just created a fresh env with python 3.9 and when i try pip3 install torchrl i get:

ERROR: Could not find a version that satisfies the requirement torchrl (from versions: none)
ERROR: No matching distribution found for torchrl

MacOS 13.1 with M1 chip

We don’t have wheels for M1 but you can simply do pip install git+https://github.com/pytorch/rl and it should work

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues installing PyTorch 1.4 - "No matching distribution found ...
Looks like this issue is related to virtual environment. Did you try recommended installation line in another/new one virtual environment?
Read more >
Could not find a version that satisfies the requirement torch ...
I am having this issue when I did a brand new install of either python 3.8.6 or 3.9. It is an windows 10...
Read more >
PyTorch pip installation not working - windows
The command I get is pip3 install torch==1.10.0+cu113 ... 0.1.2.post2) ERROR: No matching distribution found for torch==1.10.0+cu113.
Read more >
Unable to installe torch and torchvision with the package ...
It looks like the files on pypi for torch don't include distribution for windows, which is why it says there is no matching...
Read more >
could not find a version that satisfies the ... - You.com
ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found