Pytorch Installation failure in AGX Xavier with Jetpack 5


I installed jetpack 5 in my new AGX Xavier with sdkmanager. Then I installed and created a environment to install pytorch for jetpack 5 version, which it was downloaded from the nvidia page:


I got this error message:

ERROR: torch-1.12.0a0+84d1cb9.nv22.4-cp38-cp38-linux_aarch64.whl is not a supported wheel on this platform.

I don’t know how to solve this, it seems that it is related with the wheel. I have python 3.9.10 installed.

Thank you in advance for your support.

Hi @fabian.gonzalez, these PyTorch wheels for JetPack 5.0 are for Python 3.8 (you can confirm this since cp38 is in the wheel’s filename)

Hi again,

So, there is a version for my python version? If i am using python 3.9.10 there must be a torch version with cp39, isn’t it?

Coul you tell me or give me the link for the proper version? In your web the recommended version for jetpack 5 is the one i have already tried.

Thank you

For JetPack 5.0, we provide the pre-built PyTorch wheel for Python 3.8 (as this is the default version of Python that comes with Ubuntu 20.04). For Python 3.9, you would need to build it from source, following the instructions from this post: (that is, assuming you don’t want to just use Python 3.8 instead)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.