# No matching distribution found for torch==1.13.1+cu117

**URL:** <https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577>\
**Category:** Uncategorized\
**Created:** [March 11, 2023, 3:28pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577 "2023-03-11T15:28:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Creed](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/c/eb8c5e/32.png) [@Creed](https://discuss.pytorch.org/u/Creed)\
**Post date:** [March 11, 2023, 3:28pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/1 "2023-03-11T15:28:57Z")

</div>

Hi, I am trying to install pytorch with the specific CUDA version of 11.7 and I can only use pip for now. But the recommended command on the official website for Linux-pip-python-cuda 11.7 is a general command “pip3 install torch torchvision torchaudio” and this command always gave me CUDA version of 11.4 which is not what I want. However, when I tried to specify the version based on other commands suggested from this forum or other forum (e,g, github, StackOverflow etc.), it always said something about the 403 forbidden error and no matching distribution found for torch==1.13.1+cu117. I have attached a screenshot as the example. Could anybody please help me?

 ![image](https://discuss.pytorch.org/uploads/default/original/3X/7/c/7c27274926e8a2116975631ae2fa135bff3003e0.png)

Many thanks in advance.

---

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [March 11, 2023, 6:45pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/2 "2023-03-11T18:45:28Z")

</div>

The default pip wheels for PyTorch uploaded to PyPI are using the CUDA 11.7 as a dependency and thus `pip install torch` should download `1.13.1+cu117`.

---

<div class="post-metadata">

**Author:** ![Creed](https://discuss.pytorch.org/letter_avatar_proxy/v4/letter/c/eb8c5e/32.png) [@Creed](https://discuss.pytorch.org/u/Creed)\
**Post date:** [March 11, 2023, 6:57pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/3 "2023-03-11T18:57:11Z")

</div>

Thank you so much for the reply. I followed your suggestion, created a clean environment and executed pip install torch only, it still gave me CUDA version of 11.4 (also it seems like I installed torch-1.13.1+computecanada in which computecanada is a totally strange word to me; I don’t know if this could have something to do with my struggling). I attached screenshots for your convenience.

 ![image](https://discuss.pytorch.org/uploads/default/original/3X/2/3/230e746bb482f83387756eea47e3b4720542e6cf.png)

![image](https://discuss.pytorch.org/uploads/default/original/3X/f/4/f4e4fbb6040efff38acaf08b673b66c775bef84e.png)

Many thanks for your kind help 🙂

---

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [March 11, 2023, 7:53pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/4 "2023-03-11T19:53:02Z")

</div>

> [@Creed](#):
>
> (also it seems like I installed torch-1.13.1+computecanada in which computecanada is a totally strange word to me; I don’t know if this could have something to do with my struggling

It seems you might have added a `computecanada` mirror to your `pip` environment?  
I don’t know what exactly `computecanada` is but it seems they are hosting some wheels as shown e.g. [here](https://docs.alliancecan.ca/wiki/Available_Python_wheels) and [here](https://github.com/ComputeCanada/avail_wheels).

Check what your `~/.config/pip/pip.conf` or `~/.pip/pip.conf` shows and if these index urls were added there.

---

<div class="post-metadata">

**Author:** ![anjegithub](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/anjegithub/32/60028_2.png) [@anjegithub](https://discuss.pytorch.org/u/anjegithub)\
**Post date:** [April 28, 2023, 11:16am UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/5 "2023-04-28T11:16:56Z")

</div>

hello,can you explain how to do it, im new here and im not good in this.please…should i download `1.13.1+cu117` .

---

<div class="post-metadata">

**Author:** ![anjegithub](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/anjegithub/32/60028_2.png) [@anjegithub](https://discuss.pytorch.org/u/anjegithub)\
**Post date:** [April 28, 2023, 11:17am UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/6 "2023-04-28T11:17:52Z")

</div>

i have the same problem , can you explain how did you solve it

---

<div class="post-metadata">

**Author:** ![ptrblck](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/ptrblck/32/1823_2.png) [@ptrblck](https://discuss.pytorch.org/u/ptrblck)\
**Post date:** [April 28, 2023, 5:13pm UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/7 "2023-04-28T17:13:13Z")

</div>

I’m not familiar with these custom wheels by `computecanada` and thus cannot recommend installing and using them.  
To install our binaries, visit [our website](https://pytorch.org/get-started/locally/), select the desired config from the install matrix, and run the created command in your setup.

---

<div class="post-metadata">

**Author:** ![Mu\_Kee\_Kee](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/mu_kee_kee/32/61610_2.png) [@Mu\_Kee\_Kee](https://discuss.pytorch.org/u/Mu_Kee_Kee)\
**Post date:** [June 25, 2023, 10:49am UTC](https://discuss.pytorch.org/t/no-matching-distribution-found-for-torch-1-13-1-cu117/174577/8 "2023-06-25T10:49:55Z")

</div>

my pip version:  
pip 22.3.1  
Below is my command to install cu11.7:  
pip install torch torchvision torchaudio --extra-index-url [https://download.pytorch.org/whl/cu117](https://download.pytorch.org/whl/cu117)

print(torch. **version** )  
2.0.1+cu117

I can successfully install cu117
