Forums

Upgrade to Python 3.8 (bash)

Hello how I can upgrade to Python 3.8? thanks

Your account already has Python 3.8 in Bash. Just use it: python3.8

@glenn Pardon me for hi-jacking this thread a little... but I only see options for up to python 3.5 available in the buttons on my dashboard. When I type python3 from the bash console, I get python 3.4.3... and when I type python3.8 at the command line, I get this:

20:42 ~ $ python3.8
bash: python3.8: command not found
20:42 ~ $

Is there something wrong with my account? Or do I just have a very old ('classic') system image? How do I get that updated?

@memilanuk Yes, you are on old image.

We can upgrade it for you but one word of warning first -- because changing the system image upgrades a lot of the pre-installed Python packages, any code that you have that relies on those packages might break if it's not compatible with the new versions. Also, because the new image has newer versions of Python, if you have any virtualenvs, you may need to rebuild them. If you're happy to go ahead despite that, just let us know and we'll switch you over.

Ah. Good to know.

I recently started mucking about with my account again... been dormant for a long while... went thru and cleaned out all the extraneous 'cruft' from before, basically wiped the home directory and started fresh. So nothing to lose or mess up. I'll be in touch.

I see you are in email contact with support.

I need to use Python 3.7, what should I do?

We can update your system image for you but one word of warning first -- because changing the system image upgrades a lot of the pre-installed Python packages, any code that you have that relies on those packages might break if it's not compatible with the new versions. Also, because the new image has newer versions of Python, if you have any virtualenvs, you may need to rebuild them. If you're happy to go ahead despite that, just let us know and we'll switch you over.

Hi Glenn,

Can you upgrade my account to Python 3.8 as well? I also sent an email to support :-)

Thanks, Martin

Hi Martin -- no problem, that's done now. Any new consoles you start will have the new system image; any scheduled/always-on tasks and websites will pick it up the next time they're (re)started.

Awesome, thanks a bunch!

Glad to help :-)

I need to use python3.7 in my project ,what should i do?

Your account already has Python 3.7 available. Just use it either by starting a Python 3.7 console, selecting it in the web app configuration page or using python3.7 in a Bash console.

Please update my account to version 3.8)

Thanks a lot

Your account already has Python 3.7 available. Just use it either by starting a Python 3.7 console, selecting it in the web app configuration page or using python3.7 in a Bash console.

Yes, thank you. For some reason, I didn’t even try using python3.8; I just tried python3

I hope it works for you now.

Please upgrade my account to python 3.8

Your account already has Python 3.8 available. Just use it either by starting a Python 3.8 console, selecting it in the web app configuration page or using python3.8 in a Bash console.

I emptied my home-directory, so no issues with the upgrade - I know sometimes things break when upgrading. Not in my case. Please upgrade my system image to Python 3.8. Many thanks in advance, jeroene

okay, we've switched you over

Thanks for the super fast response!

Can anyone help me, im trying to run my programm on bash console and it sends ImportError: No module named schedule. What can i do? Also why is it running pythons version 2.7.12. Can i upgrade it somehow?

When you run a program in Bash, you should use the command for the version of the Python interpreter that you want to use -- for example, to run the script myscript.py with Python 3.7, run python3.7 myscript.py.

Regarding the import error, is the schedule module one of your own, or some third-party package that your code depends on that you would normally install using pip? If it's the latter, this help page explains how to install new modules.

Ok, with writing python3.7 it works fine but.. now it says ModuleNotFoundError: No module named 'telebot', but i installed pytelegrambotapi. What can i do, because i tried to find solutions on the Internet but nothing. thanks in advance, rich

How did you install pytelegrambotapi?

By using $pip3.7 install --user pytelegrambotapi, isnt it right? Checked again, and now it says ModuleNotFoundError: No module named 'schedule'. Ive looked up the tutorials, and ive done everything that is said in it. So im really confused what am i doing wrong.

Which schedule module are you trying to use? It's likely to be something you need to install.

its python's library

I'm not aware of a built-in Python module called schedule, though there is one called sched. There is also a module called schedule that you can pip install.

Im using the last one, so should i just pip install --user schedule in bash console?

Yes, assuming that you are not using a virtualenv. If you're using a virtualenv, then activate it first and just pip install schedule

please upgrade my account to 3.8

We can update your system image for you but one word of warning first -- because changing the system image upgrades a lot of the pre-installed Python packages, any code that you have that relies on those packages might break if it's not compatible with the new versions. Also, because the new image has newer versions of Python, if you have any virtualenvs, you may need to rebuild them. If you're happy to go ahead despite that, just let us know and we'll switch you over.

upgrade my account to python 3.8 plz

We can update your system image for you but one word of warning first -- because changing the system image upgrades a lot of the pre-installed Python packages, any code that you have that relies on those packages might break if it's not compatible with the new versions. Also, because the new image has newer versions of Python, if you have any virtualenvs, you may need to rebuild them. If you're happy to go ahead despite that, just let us know and we'll switch you over.

Hello, please upgrade my account to 3.8 as well. Thank you

No problem, @forexlens. I have updated your system image.

please upgrade my account to 3.8

@pankajreddy Your account already has python3.8. Just use python3.8 command.

Can you upgrade my account to 3.8 as well?

@kremerconsulting It's done for you

Could you please upgrade my account as well to python3.8?

Hello, could you guys please upgrade my account to python3.8 as well? I need it for some projects I'm building. Thanks!

@grihasthi -- Your account already has Python 3.8 available. Just use it either by starting a Python 3.8 console, selecting it in the web app configuration page or using python3.8 in a Bash console.

@edram23 -- sure, no problem -- I've updated your system image. Any new consoles you start will use it; websites and scheduled tasks will pick it up next time they are restarted,

Please upgrade my system image to Python3.8. Thank you.