Raspberry Pi: Installing Python

Publicado em: 10 Junho 2024
no canal de: Arcade Spinner
366
7

Need steps to install Python on the Raspberry Pi? In this tutorial, I show you how to get any version of Python installed on your Raspberry Pi by downloading Python and building the Python package on your Pi!

=== Commands Used ===
Update package list: sudo apt-get update
Install build tools: sudo apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libc6-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev
Unzip archive/tarball: tar xf Python-3.8.1.tar.xz (substitute 3.8.1 with your version)
Build Python package: ./configure
Build Python from package: make -j 4
Install Python from built package: sudo make altinstall
Upgrade SetupTools: sudo python3.8 -m pip install --upgrade setuptools (substitute 3.8.1 with your version)
Delete unzipped Python archive folder: sudo rm -r Python-3.8.1
Delete Python archive/tarball: sudo rm Python-3.8.1.tar.xz

=== URLs Used ===
https://www.python.org/ftp/python/3.8.1/ (substitute 3.8.1 with your version)

#raspberrypi #raspberrypi5 #raspberrypiprojects #raspberrypi4


Nesta página do site você pode assistir ao vídeo on-line Raspberry Pi: Installing Python duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Arcade Spinner 10 Junho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 366 vezes e gostou 7 espectadores. Boa visualização!