I am trying to build torchvision from source in ISAAC ROS dev container on Jetson NX running Jetpack 5.1.2. This error pops up during building and I could not solve it.
Hi @kishoresaravanan2002,
I have seen that before and for me the solution was to upgrade pip. Try:
pip3 install --upgrade pip
If its the latest version you can try to use another version of python with a venv. This one is the one I normally use to handle multiple python install without messing with the default installation.
Regards,
Andres
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.c om/
Website: www.ridgerun.com
Upgraded pip still not working. Is it something with the c++ version?
I found this Jetson orin nx build torchvision from source fail - #4 by AastaLLL
Looking at that post the errors you are getting are pretty much the same. You can try using the l4t containers, or try upgrading cmake:
sudo apt-get install libssl-dev
git clone --branch v3.18.0 https://gitlab.kitware.com/cmake/cmake.git
cd cmake/
./bootstrap && make -j6
Check the version that the torchvision repo wants.
And update gcc and g++, like over here, that they use alternatives to handle multiple versions.
Regards,
Andres
I think it needs C++ 17. In the container, I have C++ 14. How do I upgrade it?
