【raspberry】python 3.7

python3.7をインストール
sudo apt-get install 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.7.4/Python-3.7.4.tar.xz
tar xf Python-3.7.4.tar.xz
cd Python-3.7.4
./configure
make
sudo make altinstall
sudo apt-get install python3-distutils
curl
https://bootstrap.pypa.io/get-pip.py -o get-pip.py pip --version

 

Leave a Reply