Skip to content

Commit

Permalink
python3.11.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aceisace committed Feb 13, 2024
1 parent db64b47 commit 91d401e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test-on-rpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,15 @@ jobs:
cd /home/inky
sudo apt-get update -y
# try support for python 3.11
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt-get update -y
sudo apt-get install python3.11 -y
python --version
sudo apt-get install python3-pip -y
# try support for python 3.11.8
wget -q https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tgz
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev -y
tar -xzf Python-3.11.8.tgz
cd Python-3.11.8/
./configure --enable-optimizations
sudo make altinstall > /dev/null 2>&1
sudo rm /usr/bin/python
sudo ln -s /usr/local/bin/python3.12 /usr/bin/python
sudo apt-get install zlib1g libjpeg-dev libatlas-base-dev rustc libopenjp2-7 python3-dev scons libssl-dev python3-venv python3-pip git libfreetype6-dev wkhtmltopdf libopenblas-dev -y
echo $PWD && ls
Expand Down

0 comments on commit 91d401e

Please sign in to comment.