2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
# Remove Python 3.7
sudo yum remove python3 -y
# Enable Amazon Linux Extras repository for Python 3.9
sudo amazon-linux-extras enable python3.9
# Clean the yum metadata cache
sudo yum clean metadata
# Install Python 3.9
sudo yum install python3.9 -y
# Check the installed Python version
python3 --version
0
I am experiencing an execution error on Amazon EC2 using Linux 2 AMI
sudo amazon-linux-extras enable python3.9
répondu il y a un an
Contenus pertinents
- Réponse acceptéedemandé il y a un an
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 8 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
Hi Sedat, I am experiencing "The operation would result in removing the following protected packages: dnf" with remove command. Adding --skip-broken option does not help either. Any workaround for that?