Forums

Python 3.10 in Pythonanywhere

Is there a date to have Python 3.10 available in Pythonanywhere?

There is no date.

need python 3.10 for deploy my project

We do not have an estimate of when it will be available.

Could we theoretically install it ourselves? Or would that not work because the virtual environment initialization expects Python 3.9?

You will not be able to install it yourself to use in a web app.

Please add me as a +1 on requesting python 3.10

Noted! It's coming!

Please add me as a +1 on requesting python 3.10 too

Noted. Thanks

+1 on that request for Python 3.10 as well.

Who doesn't want to run the latest and greatest? ;-)

Thanks -- it will be deployed with the next system image that we're currently working on!

+1 for Python 3.10 as well. +0.5 for Python 3.11 ;)

Noted!

can Pythonanywhere support easyocr?

Possibly. As long as you use a version of Python that has torch installed - see https://www.pythonanywhere.com/batteries_included/

+1 on that request for Python 3.10 as well.

Noted!

+1 for python 3.10 over here as well! Can't wait

Noted!

+1 for Python 3.10 here as well, I need it to deploy my Django project, is there an estimate to when we can get it?

Noted. Thanks. No we do not have an estimate.

+1 for 3.10

Noted. Thanks!

What if I worked on Python 3.10.4? Can't I deploy my project on PythonAnywhere ?

It depends -- if you're using some 3.10 specific language features, they would not work on PythonAnywhere yet.

+1 for 3.10 from me as well!

Noted. Thanks!

Can l deploy django project that is written in python 3.10 by clicking 3.9 version on Python Anywhere, I think there is no any notable difference from 3.7 to 3.10 versions of python. Thanks for the answer in advance.

If you do not use any of the features that are present in 3.10 and not in 3.9, then it will be fine.

+1 for 3.10 please, can't run project without it!

Thanks, noted!

+1 3.10

Thanks!

+1 3.10

Noted!

+1 3.10

Noted!

Is comtypes.client is working on pythonanywhere for ppt to pdf?

Not sure, have you tried and got any errors?

When I create a virtual env then I face this problem. Please help me. FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/python3.10'

We don't support Python 3.10 yet -- it's coming in our next system update, which is just going through final testing.

+1 3.10

Thanks, @BenClewell -- stay tuned!

may i get 3.10?

We don't support Python 3.10 yet -- it's coming in our next system update, which is just going through final testing.

Just curious, is this Python version limitation a limitation of the underlying OS? Like are you using an Ubuntu LTS with an older Python or something (like Netlify)? If so, do you realize how stable Manjaro actually is (particularly a headless version without any desktop environment stuff to worry about)? Would you ever consider using that, even as an optional feature and keep whatever you use now as the default?

Is there any way for users to say, use alternative images? For instance, with GitLab Pages, in their CI/CD build pipeline config file you can optionally specify a different image, for instance, the official Python 3.11 beta image. That's awesome if all you need to do with Python is generate a static site, but not really helpful as a Heroku free tier replacement, since the Heroku free tier is going away now.

It is because we need to build and test the system image. We have no plans to provide/allow custom system images.

UPDATE: We deployed our new system image, "haggis", with support for Python 3.10, see this blog post for more information.

Glad to see that blog post and, most importantly, the haggis image with python 3.10. However, when I look at my web app setup pages (I have two apps) and click on the "edit" pencil for the Python version, Python 3.8 is the most advanced in the list. If I run python3 from a console, I get python 3.7.5. I did try restarting the app but nothing changed. Could this possibly be because I am using a virtualenv? Do I need to build a new one for each web app? I am confused.

So I thought I would just go ahead and create a new virtualenv for each app, but I do not see how mkvirtualenv my3.10env --python=/usr/bin/python3.10 would work since (see below)...

23:04 ~ $ ls -Al /usr/bin/python3*
lrwxrwxrwx 1 0 0     9 Mar 23  2016 /usr/bin/python3 -> python3.5
-rwxr-xr-x 1 0 0 18000 Nov 14  2019 /usr/bin/python3.4
-rwxr-xr-x 1 0 0 18000 Nov 14  2019 /usr/bin/python3.4m
-rwxr-xr-x 1 0 0  3034 Nov 14  2019 /usr/bin/python3.4m-config
-rwxr-xr-x 1 0 0 18064 Nov 14  2019 /usr/bin/python3.5
-rwxr-xr-x 1 0 0 18064 Nov 14  2019 /usr/bin/python3.5m
-rwxr-xr-x 1 0 0  3066 Nov 14  2019 /usr/bin/python3.5m-config
-rwxr-xr-x 1 0 0 18208 Nov 14  2019 /usr/bin/python3.6
-rwxr-xr-x 1 0 0 18208 Nov 14  2019 /usr/bin/python3.6m
-rwxr-xr-x 1 0 0  3083 Nov 14  2019 /usr/bin/python3.6m-config
-rwxr-xr-x 1 0 0 11632 Nov 14  2019 /usr/bin/python3.7
-rwxr-xr-x 1 0 0 11632 Nov 14  2019 /usr/bin/python3.7m
-rwxr-xr-x 1 0 0  2888 Nov 14  2019 /usr/bin/python3.7m-config
-rwxr-xr-x 1 0 0 11920 Nov 14  2019 /usr/bin/python3.8
-rwxr-xr-x 1 0 0  3073 Nov 14  2019 /usr/bin/python3.8-config
lrwxrwxrwx 1 0 0    10 Mar 23  2016 /usr/bin/python3m -> python3.5m

No python 3.10! Still confused.

@SteveZ -- you're using an old system image. To update your system image, follow steps from this help page.

Thanks @pafk. My mistake. I read too fast. I assumed that help page meant the pencil icon on the web app setup page. I haven't been to the Accounts page for such a long time. I think I am all set. Thanks again.

+1

@ mrmontero1009 -- if your +1 was a request for Python 3.10, you can get it by switching your system image to "haggis" -- see this help page

me too python 3.10.

@RichlueKing You can get it by switching your system image to "haggis" -- see this help page

+1 3.10

@vkiriak 3.10 is already available in the newest system image, see this help page.

+1 3.10

3.10 is already available in the newest system image, see this help page.

hey is it possible to run my app on pythonanywhere my app uses python 3.10.6 but the latest on the site in the shell is 3.10.5 will this be an issue?

That should be fine. Point releases generally do not break existing code.

The most recent version of python I have is 3.8

How to upgrade it to 3.9 or 3.10?

Here you go: https://help.pythonanywhere.com/pages/ChangingSystemImage/

When will Python 3.11.4 be available in PythonAnywhere. I developed my application using python 3.11.4, and I am having issues deploying it in 3.10.

Is there anytimeline for the installation because I have 3 months to deply my app on PythonAnywhere.

We don't have an exact timeline for our next system image.