How to use python 3.10

how do i use python 3.10
because everytime i deploy my site it uses python 2.7

hi there, did you set a python version as described in our docs?

that would e the first thing to try. let us know if it still doesnt work once you have tried this.

it worked thanks
the website is running but now it saying page not found

Hi there,

Did you see this guide yet? This is the best place to start for “Page Not Found” issues.

If you are still seeing issues after following the troubleshooting steps in there, please check out this Support Guide as well. It outlines all of our build and deploy resources and will get you on the right track :slight_smile:

If none of the above resources help, please write back with your site name and what steps you have tried and we can look into this further!

Is it working?
I’ve just tried with runtime.txt with 3.10 but it fails:

The linked page says that it supports only 3.8 and 2.7.

Hey @achimnol,

Yes, unfortunately, we only support up to Python 3.8 at the moment.

You can find Netlify’s supported Python version here.

Please support Python 3.9, 3.10, and 3.11. Not having support causes us substantial difficulty. Libraries our builds depend upon often use features available in newer Python versions.

Python 3.8 is about a year from end of life support and the other versions have been generally available for long periods of time. Python 3.9 was released nearly 3 years ago.

Based on the click counter to the link in your post @ben519 and questions in this forum and elsewhere on the internet, it appears many folks are interested in using newer Python versions.

Please prioritize this work so that we can continue to be Netlify customers.

We’ve shared this wit the devs. Unfortunately, there are no further updates at this point.