Pytorch Installation issue on Jetson Nano

Hi,

I am trying to install Pytorch referring to this https://elinux.org/Jetson_Zoo on Jetson Nano which has Jetpack 4.4.
The Pytorch is being installed, but there is an error while importing. The Detailed error has been seen in the image attached below.

The error is:
OSError: /home/smartcow/.local/lib/python3.6/site-packages/torch/lib/libtorch_global_deps.so: cannot open shared object file: No such file or directory
Kindly assist me to resolve this issue.

Thanks in advance

Hi,

Please noted that you would need to install the package built with the same JetPack version.
We don’t have a PyTorch 1.4.0 for JetPack4.4, but only for JetPack 4.4 DP.

Do you have any dependency on PyTorch 1.4.0?
If not, you can try the v1.6.0 and v1.7.0 shared on the same website.

JetPack 4.4 / 4.4.1

If yes, you can build it from source with the instructions shared below:
https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-7-0-now-available/72048

Another alternative is to use l4t-pytorch docker that has PyTorch pre-installed.
Thanks.

Thank you very much for your quick response. I have installed Pytorch v1.6 and all sorted out!.
Thanks again.

Good to know this. Thanks for the update.