Closed liudonghua123 closed 1 year ago
Hi, I have a server which runs ubuntu 18.04. and I installed python 3.10.8 last year, maybe using your ppa (sudo add-apt-repository ppa:deadsnakes/ppa && apt install python3.10). See also https://ubuntuhandbook.org/index.php/2021/01/install-python-3-10-alpha-ubuntu-20-04-ubuntu-18-04/.
sudo add-apt-repository ppa:deadsnakes/ppa && apt install python3.10
But when I tried to reinstall the python 3.10 due to missing Python.h and pyconfig.h (I removed python 3.10.8 accidently), then I could not install python3.10 anymore.
Python.h and pyconfig.h
I tried to download debs from http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/pool/main/p/python3.10/ and use dpkg -i * to install them, but it failed with libc6 version conflicts.
dpkg -i *
I also noticed this commit, maybe the ubuntu 18.04 support is removed just a few days ago.
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic
Linux xxs 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Is there anyway I can install the old python 3.10.8 on my ubuntu 18.04?
Update: I found the debs are deleted for ubuntu 18.04. Maybe I have to build it for myself.
See the pinned issue: https://github.com/deadsnakes/issues/issues/251
In the issue template, which you deleted, there was a note to read the pinned issues first.
description
Hi, I have a server which runs ubuntu 18.04. and I installed python 3.10.8 last year, maybe using your ppa (
sudo add-apt-repository ppa:deadsnakes/ppa && apt install python3.10
). See also https://ubuntuhandbook.org/index.php/2021/01/install-python-3-10-alpha-ubuntu-20-04-ubuntu-18-04/.But when I tried to reinstall the python 3.10 due to missing
Python.h and pyconfig.h
(I removed python 3.10.8 accidently), then I could not install python3.10 anymore.I tried to download debs from http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/pool/main/p/python3.10/ and use
dpkg -i *
to install them, but it failed with libc6 version conflicts.I also noticed this commit, maybe the ubuntu 18.04 support is removed just a few days ago.
os information
lsb_release -a
uname -a