How to automate setting up Jupyter Notebook on the Jetson Nano
This is a scripted version of the instructions posted in this article. It’s easier, but way less informative. If you need more details on what went into the creation of this script, please refer the linked article.
RepositoryPermalink
The repository containing the code used in this blog post is here: Jetson Nano
InstructionsPermalink
git clone --progress --depth 1 https://github.com/sahilramani/jetson-nano.git
cd jetson-nano
chmod a+x jetson_setup.sh
./jetson_setup.sh
The script will ask for your super user password a few times, and definitely needs a few reboots to get things set up. Setup will continue automatically when you log in after the reboot.
Installing the advanced stuffPermalink
If you want to install a few additional (useful) things on your jetson nano, try some options on the script.
PytorchPermalink
./jetson_setup.sh --pytorch
TorchVisionPermalink
./jetson_setup.sh --torchvision
TensorFlowPermalink
./jetson_setup.sh --tensorflow
Jupyter LabPermalink
./jetson_setup.sh --jupyterlab
I WANT IT ALL!Permalink
./jetson_setup.sh --pytorch --torchvision --tensorflow --jupyterlab
It’s done, now what?Permalink
Now that the script is done, all you need to do is fire up Jupyter Notebook
conda activate jupyter
jupyter notebook
or if you installed Jupyter Lab
conda activate jupyter
jupyter lab
Comments