[Python] How do I install python 3.13+ in a AWS EC2 instance?

Discussão em 'Python' iniciado por Stack, Maio 29, 2025.

  1. Stack

    Stack Membro Participativo

    I am currently trying to install python 3.13+ in my AWS EC2 instance.

    It seems that it has python 3.9 installed by default, and ChatGPT said that EC2 is running based on Python so I cannot remove the originally installed version.

    And now I am trying to run a python application that is based on python 3.13, which requires me to install a new python and run it on that.

    I wonder how I can achieve this.

    I tried installing a new python but it didn't update the pip I used. So I have to indicate the new version somehow. Since this python application is (and will be) the only python application in this server, I wish to use the 3.13 version and set it by default.

    But once I have done that, the pip and yum started throwing errors saying that I don't have the SSL configuration so I cannot install any more dependencies.

    Now I am confused and the AI isn't helping. So I am posting a question here to see if anyone has encountered something similar before.

    PS. I have seen this question but it doesn't help. I have a python 3.9 installed already, I just need to have a higher version of it.

    Continue reading...

Compartilhe esta Página