#πŸ”’ pip installation is failing when it shouldn't.

17 messages Β· Page 1 of 1 (latest)

idle scarab
#

So, I am trying to install PyTorch for an LLM project I plan to make in the near future.

py -3 -m pip install pytorch says the following: Exception: You tried to install "pytorch". The package named for PyTorch is "torch"
py -3 -m pip install torch says: ERROR: Could not find a version that satisfies the requirement torch (from versions: none) ERROR: No matching distribution found for torch

I took a look on their website, and found the latest version is 2.5.1, so tried the following command: py -3 -m pip install torch==2.5.1
Same error as ... install torch

I have no idea what is going on anymore, none at all. Any help would be much appreciated. TIA.

tawdry wharfBOT
#

@idle scarab

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

upbeat pulsar
#

What version of Python are you using?

#

And which OS?

idle scarab
#
Python 3.13.1```
Windows 11 Pro
upbeat pulsar
#

!pypi torch

tawdry wharfBOT
#

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Released on <t:1730223154:D>.

upbeat pulsar
#

There is a 3.13 distribution on that page, but only for Linux (edited).

idle scarab
#

Well that is marginally a pain because I only use 3.13.1 for compatibility issues with other projects. Any ideas if I can "bypass" this using WSL at all?

upbeat pulsar
#

If you build on Linux, sure.

idle scarab
#

Might give that a go then, thanks :)

upbeat pulsar
#

WSL or Docker, either way

idle scarab
#

WSL would be the preferred.

tawdry wharfBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.

#

πŸ”’ pip installation is failing when it shouldn't.