LoginSignup
11
5

More than 3 years have passed since last update.

Raspberry PiにPython3.9をインストールする

Posted at

Raspberry PiにPython3.9をインストールする

0.準備
1.ソースのダウンロード
2.ダウンロードしたソースの展開
3.コンパイル&インストール
4.バージョン確認

#準備
 sudo apt-get update
 sudo apt-get upgrade -y
#ソースのダウンロード
 wget https://www.python.org/ftp/python/3.9.4/Python-3.9.4.tgz
#ダウンロードしたソースの展開
tar zxvf Python-3.9.4.tgz
#コンパイル&インストール
 cd Python-3.9.4
 ./configure
 make
 sudo make install
#バージョン確認
 python3.9 -v
pi@raspberrypi:~/Python-3.9.4 $ python3.9 -V
Python 3.9.4
11
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
5