# Cannot Install - Wheel not supported

**URL:** <https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897>\
**Category:** Uncategorized\
**Created:** [April 15, 2020, 4:55pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897 "2020-04-15T16:55:27Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucas\_stokesberry](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/lucas_stokesberry/32/22816_2.png) [@lucas\_stokesberry](https://discuss.pytorch.org/u/lucas_stokesberry)\
**Post date:** [April 15, 2020, 4:55pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/1 "2020-04-15T16:55:27Z")

</div>

I have checked all the other posts on this topic saying the same error. I have tried their solutions and none work.

I am using Python 3.8.2 64 bits on Windows 10.

I am attempting to use the wheel “torch-1.4.0+cpu-cp38-cp38-win\_amd64.whl”.

I also tried using Python 3.7 and installing the wheel for that one, which gave the same error “…wheel not supported…”.

I also tried using the code given on the chooser portion of this site which gave me a different error “No matching distribution found for torch==1.4.0”.

Please help.

EDITED:

1. I attempted:  
pip install torch  
\*which gave the error: ModuleNotFoundError: No module named ‘tools.nnwrap’

2. And then I tried:  
pip install torch-1.4.0+cpu-cp38-cp38-win\_amd64.whl  
\*which gave the error: torch-1.4.0+cpu-cp38-cp38-win\_amd64.whl is not a supported wheel on this platform.

---

<div class="post-metadata">

**Author:** ![peterjc123](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peterjc123/32/2790_2.png) [@peterjc123](https://discuss.pytorch.org/u/peterjc123)\
**Post date:** [April 16, 2020, 11:50am UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/2 "2020-04-16T11:50:14Z")

</div>

Please share the exact commands you used and their result. Thank you.

---

<div class="post-metadata">

**Author:** ![lucas\_stokesberry](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/lucas_stokesberry/32/22816_2.png) [@lucas\_stokesberry](https://discuss.pytorch.org/u/lucas_stokesberry)\
**Post date:** [April 16, 2020, 12:46pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/3 "2020-04-16T12:46:57Z")

</div>

Edited my response, thanks.

---

<div class="post-metadata">

**Author:** ![peterjc123](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peterjc123/32/2790_2.png) [@peterjc123](https://discuss.pytorch.org/u/peterjc123)\
**Post date:** [April 16, 2020, 12:51pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/4 "2020-04-16T12:51:58Z")

</div>

Please try `python -m pip install "torch-1.4.0+cpu-cp38-cp38-win_amd64.whl" `.

---

<div class="post-metadata">

**Author:** ![lucas\_stokesberry](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/lucas_stokesberry/32/22816_2.png) [@lucas\_stokesberry](https://discuss.pytorch.org/u/lucas_stokesberry)\
**Post date:** [April 16, 2020, 1:01pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/5 "2020-04-16T13:01:45Z")

</div>

> [@peterjc123](#):
>
> -m pip install “torch-1.4.0+cpu-cp38-cp38-win\_amd64.whl”

It gave "-m is not recognized as an internal or external command, operable program or batch file.

---

<div class="post-metadata">

**Author:** ![peterjc123](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peterjc123/32/2790_2.png) [@peterjc123](https://discuss.pytorch.org/u/peterjc123)\
**Post date:** [April 16, 2020, 1:03pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/6 "2020-04-16T13:03:15Z")

</div>

Which terminal are you using? CMD, powershell, or sth else?

---

<div class="post-metadata">

**Author:** ![peterjc123](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peterjc123/32/2790_2.png) [@peterjc123](https://discuss.pytorch.org/u/peterjc123)\
**Post date:** [April 16, 2020, 1:04pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/7 "2020-04-16T13:04:01Z")

</div>

It is `python -m pip install "torch-1.4.0+cpu-cp38-cp38-win_amd64.whl"` , not `-m pip install “torch-1.4.0+cpu-cp38-cp38-win_amd64.whl”`.

---

<div class="post-metadata">

**Author:** ![lucas\_stokesberry](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/lucas_stokesberry/32/22816_2.png) [@lucas\_stokesberry](https://discuss.pytorch.org/u/lucas_stokesberry)\
**Post date:** [April 16, 2020, 1:08pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/8 "2020-04-16T13:08:41Z")

</div>

> [@peterjc123](#):
>
> python -m pip install “torch-1.4.0+cpu-cp38-cp38-win\_amd64.whl”

Wow, that worked thanks! Could you explain why that worked when I couldn’t install it using pip nor inside of PyCharm?

---

<div class="post-metadata">

**Author:** ![peterjc123](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/peterjc123/32/2790_2.png) [@peterjc123](https://discuss.pytorch.org/u/peterjc123)\
**Post date:** [April 16, 2020, 1:18pm UTC](https://discuss.pytorch.org/t/cannot-install-wheel-not-supported/76897/9 "2020-04-16T13:18:59Z")

</div>

`pip install torch` won’t work because we don’t host Windows wheels on PyPI.

`pip install torch` doesn’t work because your `pip` points to a different python environment. You can verify the result using `where pip` in CMD.
