As I am now working on Jetson hardware for my research, I would like to keep some notes for future usage.
Jetson Related Resources
Hello World Project
The official hello world project could be found here. After following the Setting up Jetson with JetPack, continue on Building the Project from Source.
Note: The provided steps in Building the Project from Source is NOT compatible with virtual environment, as the command
sudo make install
will install the package in/usr/lib/python*/dist-packages/
(the default global environment path,*
stands for the python version number). Though it could be fixed by adding a file named asglobal_packages.pth
and/usr/lib/python*/dist-packages
as the content to the library directory of the corresponding virtual environment, I decide to use global environment for this project.
Run command:
sudo apt-get update
sudo apt-get install git cmake libpython3-dev python3-numpy
git clone --recursive --depth=1 https://github.com/dusty-nv/jetson-inference
cd jetson-inference
mkdir build
cd build
cmake ../
make -j$(nproc)
sudo make install
sudo ldconfig
The detailed explanation is in the original GitHub repository, currently there’s no need for me to keep anything more in this note.
Document Info
- Author: Paul Tian
- Link: https://paultian.com/2023/09/27/jetson-nano-dev-1/
- Copyright: Attribution-NonCommercial-NoDerivatives (CC 4.0)