# Problem to install PyTorch on Jetson Nano Orin

**URL:** <https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473>\
**Category:** Jetson Orin Nano\
**Tags:** pytorch\
**Created:** [September 20, 2024, 9:17pm UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473 "2024-09-20T21:17:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![G-Tsuan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@G-Tsuan](https://forums.developer.nvidia.com/u/G-Tsuan)\
**Post date:** [September 20, 2024, 9:17pm UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/1 "2024-09-20T21:17:18Z")

</div>

I recently bought a Jetson Nano Orin and has been following the tutorial “[jetson-inference/README.md at master · dusty-nv/jetson-inference · GitHub](https://github.com/dusty-nv/jetson-inference/blob/master/README.md#hello-ai-world)”. When I tried to install PyTorch according to the instruction here ([jetson-inference/docs/pytorch-transfer-learning.md at master · dusty-nv/jetson-inference · GitHub](https://github.com/dusty-nv/jetson-inference/blob/master/docs/pytorch-transfer-learning.md)), the system was crashed. I attached the system log files. Can somebody please help me figure out what the problem may be?

[syslog.txt](https://forums.developer.nvidia.com/uploads/short-url/7VI9JhynIg21mVoa6o9EFWLGHwH.txt) (2.8 MB)  
[note.txt](https://forums.developer.nvidia.com/uploads/short-url/lB143TgYuOzmkUpnc9pkrDOaxuc.txt) (64.2 KB)

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [September 23, 2024, 4:22am UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/3 "2024-09-23T04:22:49Z")

</div>

Hi,

Do you use JetPack 6?  
If yes, please install our prebuilt for JetPack 6 in the below link:

> [@PyTorch for Jetson](https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048):
>
> Below are pre-built PyTorch pip wheel installers for Jetson Nano, TX1/TX2, Xavier, and Orin with JetPack 4.2 and newer. Download one of the PyTorch binaries from below for your version of JetPack, and see the installation instructions to run on your Jetson. These pip wheels are built for ARM aarch64 architecture, so run these commands on your Jetson (not on a host PC). You can also use the containers from [jetson-containers](https://github.com/dusty-nv/jetson-containers). PyTorch pip wheels JetPack 6 
> 
> > **PyTorch v2.3.0**
> >
> > JetPack 6.0 (L4T R36.2…

Thanks.

---

<div class="post-metadata">

**Author:** ![G-Tsuan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@G-Tsuan](https://forums.developer.nvidia.com/u/G-Tsuan)\
**Post date:** [September 23, 2024, 8:09pm UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/4 "2024-09-23T20:09:01Z")

</div>

Thank you for the reply.

Yes, I use JetPack 6. When I went to [PyTorch for Jetson](https://forums.developer.nvidia.com/t/pytorch-for-jetson/72048) as suggested to download torch 2.3, I got this problem  
“ERROR: torch-2.3.0-cp310-cp310-linux\_aarch64.whl is not a supported wheel on this platform.”

I also tried PyTorch v2.2.0 and PyTorch v2.1.0, same problems occurred.  
“ERROR: torch-2.2.0a0+6a974be.nv23.11-cp310-cp310-linux\_aarch64.whl is not a supported wheel on this platform.”  
“ERROR: torch-2.1.0-cp310-cp310-linux\_aarch64.whl is not a supported wheel on this platform.”

Any further suggestions? Thank you.

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [September 25, 2024, 8:13am UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/5 "2024-09-25T08:13:56Z")

</div>

Hi,

It should work.  
Please follow the below command to install PyTorch:

> [@Install Pytorch with cuda on Jetson Orin nano Devloper Kit](https://forums.developer.nvidia.com/t/install-pytorch-with-cuda-on-jetson-orin-nano-devloper-kit/297427/6):
>
> Hi, Please try the below command: $ wget https://developer.download.nvidia.com/compute/redist/jp/v60/pytorch/torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux\_aarch64.whl -O torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux\_aarch64.whl $ pip3 install torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux\_aarch64.whl If the error keeps showing, please share the output of the below command with us. $ md5sum torch-2.4.0a0+07cecf4168.nv24.05.14710581-cp310-cp310-linux\_aa…

And the below command for TorchVision and TorchAudio:

> [@Install Pytorch with cuda on Jetson Orin nano Devloper Kit](https://forums.developer.nvidia.com/t/install-pytorch-with-cuda-on-jetson-orin-nano-devloper-kit/297427/12):
>
> Hi, The below command works in our environment. Please give it a try. $ wget https://nvidia.box.com/shared/static/9si945yrzesspmg9up4ys380lqxjylc3.whl -O torchaudio-2.3.0+952ea74-cp310-cp310-linux\_aarch64.whl $ pip3 install torchaudio-2.3.0+952ea74-cp310-cp310-linux\_aarch64.whl $ wget https://nvidia.box.com/shared/static/u0ziu01c0kyji4zz3gxam79181nebylf.whl -O torchvision-0.18.0a0+6043bc2-cp310-cp310-linux\_aarch64.whl $ pip3 install torchvision-0.18.0a0+6043bc2-cp310-cp310-linux\_aarch64.whl T…

Thanks.

---

<div class="post-metadata">

**Author:** ![G-Tsuan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@G-Tsuan](https://forums.developer.nvidia.com/u/G-Tsuan)\
**Post date:** [September 25, 2024, 3:28pm UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/6 "2024-09-25T15:28:20Z")

</div>

> [@Install Pytorch with cuda on Jetson Orin nano Devloper Kit](https://forums.developer.nvidia.com/t/install-pytorch-with-cuda-on-jetson-orin-nano-devloper-kit/297427/12):
>
> pip3 install torchvision-0.18.0a0+6043bc2-cp310-cp310-linux\_aarch64.

Unfortunately, it still doesn’t work.

 ![screen](https://global.discourse-cdn.com/nvidia/original/4X/1/1/6/1163bd0e1b4f54c640bdad7336701cf8ded1e5ee.png)  
Same problems when I installed Pytorch Audio and Vision as you suggested.

---

<div class="post-metadata">

**Author:** ![G-Tsuan](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@G-Tsuan](https://forums.developer.nvidia.com/u/G-Tsuan)\
**Post date:** [October 4, 2024, 8:30pm UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/7 "2024-10-04T20:30:47Z")

</div>

Any suggestions?

---

<div class="post-metadata">

**Author:** ![AastaLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/aastalll/32/14043_2.png) [@AastaLLL](https://forums.developer.nvidia.com/u/AastaLLL)\
**Post date:** [October 14, 2024, 5:10am UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/8 "2024-10-14T05:10:47Z")

</div>

**There is no update from you for a period, assuming this is not an issue anymore.  
Hence, we are closing this topic. If need further support, please open a new one.  
Thanks**

Hi,

It looks like you are using a virtual environment.  
Which Python version do you use?

Our prebuilt package is built with Python 3.10.

Thanks.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [October 23, 2024, 6:16am UTC](https://forums.developer.nvidia.com/t/problem-to-install-pytorch-on-jetson-nano-orin/307473/10 "2024-10-23T06:16:14Z")

</div>


