Zexin Li

Please keep honest, open, patient, happy and visionary.

Configure a same virtual environment on server as Jetson

Talk is cheap, show me the code

Note: these commands are for x86 based server, not for Jetson itself.

For Jetpack 4.6

1
2
conda create -n py36 python=3.6
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge

For Jetpack 5.0+

1
2
conda create -n py38 python=3.8.10
conda install pytorch==1.13.0 cudatoolkit=11.8 -c pytorch -c conda-forge