top of page
Search

Project 2b - Jetson Nano setup, Python 3.6, VEnv and Jupyter Notebook

  • Writer: James Canova
    James Canova
  • Sep 20, 2021
  • 1 min read

Project start: 2 November 2021

Project finish: 18 December 2021


Last updated: 9 October 2022


Objective: setup some more software


cd $HOME

sudo apt-get update
sudo apt-get upgrade

check Python version (note: it's preloaded):

cd $HOME

python3 -V
->Python 3.6.9

install, update and check pip3 version:

cd $HOME

sudo apt-get -y install python3-pip

pip3 install -U pip

pip3 -V
->21.3.1

install VEnv for Python 3.6:

cd $HOME

sudo apt-get install python3-venv

other system package installations:

sudo apt install build-essential libssl-dev python3-dev

sudo apt-get install libhdf5-serial-dev hdf5-tools zlib1g-dev zip libjpeg8-dev liblapack-dev

sudo apt-get install gfortran libhdf5-dev

software-properties-gtk (a dialog will open, click on "source")

sudo apt-get install software-properties-common

sudo apt-get build-dep python3-h5py

then, just in case they are not already enabled:

sudo apt-get-repository universe

sudo apt-get-repository multiverse

sudo apt-get-repository main

sudo apt-get-repository restricted

setup a directory for your projects:

cd $HOME

cd Public

mkdir Projects

create a virtual environment, in my case I called it myPython36VEnv:

cd Projects
python3.6  -m venv myPython36VEnv 

update ownership of the virtual environment:

sudo chown -R <user-name> myPython36VEnv

activate virtual environment:


source myPython36VEnv/bin/activate

update and check version of pip3 in virtual environment:

pip3 install -U pip

pip3 -V
->21.3.1

install Jupyter Notebook in virtual environment:

pip3 install -U jupyter

to use:

jupyter-notebook

exit virtual environment:

deactivate


A Python program to test installations made in this project can be downloaded from my GitHub repository:






If you have any problems or need clarification please contact me: jscanova@gmail.com


 
 
 

Recent Posts

See All
Introduction

I became interested in artificial intelligence in mid 2021 after watching a documentary on this subject. In particular, I'm interested in...

 
 
 
References

1.Rashid, Tariq, Make Your Own Neural Network , Amazon , 2016 2.Portilla, Jose, "Python for Computer Vision with OpenCV and Deep...

 
 
 
Status of Projects

Last updated: 30 March 2024 Project 0: Read this to get a very basic understating on machine learning and neural networks. Project 1:...

 
 
 

Comments


Post: Blog posts

©2021 by My Machine Learning Blog. Proudly created with Wix.com

bottom of page