-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Getting the following error in amazon linux 2023 when trying to install and use python
python: error while loading shared libraries: libpython3.11.so.1.0: cannot open shared object file: No such file or directorySimulation steps
- Run command
docker run -it amazonlinux:2023 /bin/bash - Inside the container run the following commands
## Install installer depndencies
dnf install -y tar gzip which
## Install pkgx
curl --retry 3 -fsSL https://pkgx.sh | bash
## Install python
pkgm install python@3.11
## Try to make python print its version (this will fail with the above error)
python --versionProposal
- I recommend using python-build-standalone or uv to correctly install python without the system dependency head ache.
Metadata
Metadata
Assignees
Labels
No labels