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
Sur cette page du site, vous pouvez voir la vidéo en ligne Raspberry Pi: Installing Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Arcade Spinner 10 juin 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 366 fois et il a aimé 7 téléspectateurs. Bon visionnage!