Skip to content

Instantly share code, notes, and snippets.

@rcland12
Created September 1, 2023 05:31
Show Gist options
  • Save rcland12/2c55a660c6d459d0f0a3ab7987eb09e4 to your computer and use it in GitHub Desktop.
Save rcland12/2c55a660c6d459d0f0a3ab7987eb09e4 to your computer and use it in GitHub Desktop.
Install Python3.8 on Jetson Nano (run with sudo)
#!/bin/bash
apt-get install -y python3.8 python3.8-dev
wget https://files.pythonhosted.org/packages/b7/2d/ad02de84a4c9fd3b1958dc9fb72764de1aa2605a9d7e943837be6ad82337/pip-21.0.1.tar.gz
tar -xzvf pip-21.0.1.tar.gz
cd pip-21.0.1
python3.8 setup.py install
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.8 get-pip.py
update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
update-alternatives --install /usr/bin/python python /usr/bin/python3.8 2
update-alternatives --set python /usr/bin/python3.8
python -V
which python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment