Answers for "how to update python raspberry pi"

7

update raspi

sudo apt update && sudo apt full-upgrade
Posted by: Guest on December-17-2020
3

install pip on raspberry pi

sudo apt-get update
sudo apt-get install python-pip
Posted by: Guest on June-10-2020
1

raspberry pi update python

# Update the Raspbian
sudo apt-get update
ential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget vim
# Install Python
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
cd Python-3.8.0
sudo ./configure --enable-optimizations
sudo make -j 4
sudo make altinstall
# Make Python 3.8 as the default version
echo "alias python=/usr/local/bin/python3.8" >> ~/.bashrc
source ~/.bashrc
# Check Python Version
python -V
# Clean up
sudo rm -rf Python-3.8.0.tgz
sudo rm -rf Python-3.8.0
Posted by: Guest on March-21-2021
-2

how to update python raspberry pi

sudo apt-get update    
sudo apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz    
sudo tar zxf Python-3.8.0.tgz
cd Python-3.8.0
sudo ./configure --enable-optimizations
sudo make -j 4python3.8 -V
sudo make altinstall
python3.8 -V
echo "alias python=/usr/local/bin/python3.8" >> ~/.bashrc
source ~/.bashrc
python -V
Posted by: Guest on May-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language