Unable to install Pytorch on Python 3.13

username: vojo_0001
cooked: <p>get this error</p>
<p><div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/2/1/21b6ac993594240a168f797f31d6a597d3d11eae.png" data-download-href="https://discuss.pytorch.org/uploads/default/21b6ac993594240a168f797f31d6a597d3d11eae" title="image"><img src="https://discuss.pytorch.org/uploads/default/original/3X/2/1/21b6ac993594240a168f797f31d6a597d3d11eae.png" alt="image" data-base62-sha1="4Of8jWycMQ50earwBW9X2FlmAQ6" width="690" height="363" data-dominant-color="151515"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">image</span><span class="informations">1509×795 38.7 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

username: vojo_0001
cooked: <p>no problems doing this on python 3.10!!!</p>

username: ptrblck
cooked: <p>The Python 3.13 support is tracked <a href="https://github.com/pytorch/pytorch/issues/130249">here</a> and while Windows supports source builds, the PyTorch binaries do not support it yet according to the support matrix.</p>

username: vojo_0001
cooked: <p>then they should post a message (command line or some sort of PIP log).  Something like "Current Python a.b.c does not support Pytorch x,y,z</p>
<p>I do find it hard to believe that so much has changed in python 3.10 to 3.13 that Pytorch no longer works ;-).-)</p>

username: ptrblck
cooked: <p>The linked issue tracks all packages and any support in landing needed PRs is welcome <img src="https://discuss.pytorch.org/images/emoji/apple/slight_smile.png?v=12" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>

username: vojo_0001
cooked: <p>Does putorch python 3.12??</p>

username: vojo_0001
cooked: <p>well Pytorch does not install on python 3.12 either!!!<br>
Same error as previous post!!!</p>
<p>As in the previous post, wheels seems to fail (same way).   When I did Pytorch on a custom 3.10, it all installed (ran pytorch programs no errors)…but could not install Panda.   So uninstalled 3.10 and installed 3.13 standard way (with pathing options)…failed…uninstalled 3.13 because “not supported for Pytorch”…installed 3.12 (with pathing options)…still fails</p>
<p>all I will say is “help help help!!!”</p>

username: ptrblck
cooked: <p>Yes, PyTorch does support Python3.12.</p>

username: vojo_0001
cooked: <p>ok got it working</p>
<ul>
<li>had to roll back to Python 3.10<br>
-Standard install</li>
<li>had to roll back pytorch to 2.2<br>
-2,5 hash values are apparently in correct</li>
<li>had to roll back pandas to 2.1
<ul>
<li>2.5 has a problem with wheels…puked up all over the install process</li>
</ul>
</li>
</ul>
<p>So at least back to where I was 6 days ago…lets see what new adventures await!!!</p>

username: Umais_Adeed
cooked: <p>hey <a class="mention" href="/u/vojo_0001">@vojo_0001</a> how have you been did you find any solution for torch to get downloaded onto python 3.13 or still using 3.10 because i have to download the sentence transformers library on it and need torch there would really appreciate your reply</p>

username: vojo_0001
cooked: <p>rolled back to python 3.10</p>

username: Geoffrey_Tipy
cooked: <p>Nearly 2025, and still not sorted. this is why I don’t like this hobby language python, that dependancy nightmare.</p>

username: rakshith077-bn
cooked: <p>I had similar issues. I resolved it by installing torch under a python3.10 virtual environment. python3.10 -m venv …/.venv.</p>

username: AlexBinder79
cooked: <p>I came across the same problem. I have found this solution: If you need a temporary fix without downgrading default installations of python (which can break stuff), you can consider <a href="https://github.com/pyenv/pyenv" class="inline-onebox" rel="noopener nofollow ugc">GitHub - pyenv/pyenv: Simple Python version management</a> and <a href="https://github.com/pyenv/pyenv-virtualenv" class="inline-onebox" rel="noopener nofollow ugc">GitHub - pyenv/pyenv-virtualenv: a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv)</a></p>