Forums

Need to upgrade Python version past 3.6, but 3.6 is the latest available on account

When trying to run my new Dash app I am getting the following error:

AttributeError: module 'typing' has no attribute 'NoReturn'

This seems to relate to this attribute not existing in Python 3.6, and in any case I would like my app to be on the latest version of Python available on PythonAnywhere, preferably 3.7 or 3.8.

However, I only see the option to launch my apps using Python 3.6 in my account.

Would someone be able to upgrade my account to make use of these newer Python versions?

I have 2 other apps running fine on Python 3.6, and I would like them to stay that way. But I would like to run this new app on Python 3.7 or 3.8.

Thanks in advance for your help.

You're using an old system image -- to upgrade to more recent one, please follow the steps described here.

Thank you pafk for your help.

I hope that you made it work!