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
Auf dieser Seite können Sie das Online-Video Raspberry Pi: Installing Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Arcade Spinner 10 Juni 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 366 Mal angesehen und es wurde von 7 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!