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.

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,

.

No problem. I have updated your system image.

please update my account python 3.8

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.

plz upgared my python

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

Can I have python 3.8 too, please?

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.

It would be very helpful to get python 3.6 and 3.8 if it's not too much work. I'm tinkering around with my config to see what works.

Thanks guys!

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.

please upgrade my account/system image to Python 3.8, having a lot of dependency issues with my Django app written in 3.8, thanks!

Your account is already using the most recent system image, so Python 3.8 is already available to you.

When I want to use django 3.0.3 I got the error" python 2.7 of its life january 2020.please upgrade the python 2.7" How can I upgrade it to 3.8 ?

Use python3.8 command , not just python.

Hi Glenn, Please can you also upgrade my account to Python 3.8 as well? What do i need to do to get this done? Thanks

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 the python3.8 command in a Bash console.

can you please upgrade my bash 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 the python3.8 command in a Bash console.

Hi, please Upgrade my bash to python 3.8

please upgrade my bash to 3.8 I couldnt install requests because of python 2.7 and in this time I can run python 3.8 but when installing from pip Ive got decline because of python2.7

Your account already has Python 3.8. You just need to use it: python3.8, pip3.8 etc.

Please upgrade me at Python 3.8. Pip3.8 and python3.8 doesn't work in bash console.

Your account already has Python 3.8. You just need to use it: python3.8, pip3.8 etc.

Please upgrade my account from Python 2.7 to python 3.8. Thank you in advance

You are already on the latest system image.

Hi, i need to update pythom to version 3.8)

You are already on the latest system image- what makes you think you don't have access to it?

Hi, i need to update pythom to version 3.8

Your account already has Python 3.8. You just need to use it: python3.8, pip3.8 etc.

My account is running on python2.7...I need an upgrade to 3.6 please

There are multiple versions of Python installed; if you run "python3.8", you'll get Python 3.8, if you run "python3.7", you'll get 3.7, and so on. They all have their own associated versions of pip installed, eg. "pip3.8". The commands "python" and "pip" are aliased to "python2.7" and "pip2.7" respectively, because unfortunately that's what Ubuntu requires to run.

Hi, can you update my account to 3.7 please.... thanks :!!!!

hi can you update my account to python3.7 please thanks!!!!

@rbaron and @deepak123pandey, both of your accounts already have it. See the previous post by @pafk.

hello, can you please upgrade my account to python3.8

No problem. I have updated your system image.

ERROR: Could not find a version that satisfies the requirement requirements.txt ( from versions: none) ERROR: No matching distribution found for requirements.txt

this error is showing to me what should i do.

You need a -r in before requirements.txt in the command you're running.

Hello, can you upgrade my system image to have 3.8;be the default in bash?

I’m aware of the upgrade issues involved. Heck, if I can deal with wearing a face mask I can deal with that, too.

Hello, can you upgrade my system image to have 3.8;be the default in bash?

I’m aware of the upgrade issues involved. Heck, if I can deal with wearing a face mask I can deal with that, too.

hi there, it seems you are already on our latest system image. However, I've updated it so that python3 in bash consoles now run python3.8, and your default save and run from the file editor will also run python3.8.

hello, can you please upgrade my account to python3.8

You are already on the most recent system image which has Python 3.8 among others. If you run "python3.8", you'll get Python 3.8, if you run "python3.7", you'll get 3.7, and so on. They all have their own associated versions of pip installed, eg. "pip3.8". The commands "python" and "pip" are aliased to "python2.7" and "pip2.7" respectively, because unfortunately that's what Ubuntu requires to run.

Hi! We.. I have the same problem.. I need my account to be on 3.8 to run my django project. Can you update my account? Best regards//Kent

You are already on the most recent system image which has Python 3.8 among others (see the answer above). You need to specify the python version when you create your web app.

hello, can you please upgrade my account to python3.8

bozoncheg, it's done for you

[edited by admin: code formatting]

08:24 ~ $ python --version
Python 2.7.12

please, upgrade for me too. (Bash)

You are already on the most recent system image with Python 3.8 installed. To use specific python (and pip respectively) in the console, you need to invoke it explicitly, e.g. python3.8. You may as well create a virtual environment for specific Python version. Then, after activating it, python will default to the version you created the venv with.