Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Raspberry Pi OS needed to use python 3.9.x #77

Open
thclark opened this issue Jun 28, 2022 · 0 comments
Open

Latest Raspberry Pi OS needed to use python 3.9.x #77

thclark opened this issue Jun 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@thclark
Copy link
Contributor

thclark commented Jun 28, 2022

Bug report

I updated the Raspberry Pi to use python 3.9.12 using the following instructions (from here):

sudo apt update
sudo apt upgrade
cd ~
mkdir -p python-install && cd python-install
wget https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tgz
tar -zxvf Python-3.9.12.tgz
cd Python-3.9.12
./configure --enable-optimizations
sudo make altinstall
cd /usr/bin
sudo rm python
sudo rm python3
sudo ln -s /usr/local/bin/python3.9 python
sudo ln -s /usr/local/bin/python3.9 python3
cd ~
python --version

Unfortunately when I then install and run the gateway I get the error described here, essentially:

libm.so.6: version `GLIBC_2.29' not found

This forum discusses the problem, concluding that a newer version of the OS is needed in order to run Python 3.9.

Current Workaround

I'm downgrading to python 3.8.13, rather than building my own RPi image!

@thclark thclark added the bug Something isn't working label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant