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.

Hello, can you provide steps to upgrade the python version to python 3 instead of 2; or you can upgrade it for me plz.

@ahmedAbdeletti 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.

Please upgrade my account to python 3.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.

Please upgrade my account to python 3.8. Thank you!

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.

Can someone upgrade my bash console version into a 3.8 since I want to make a django website and I need a version 3.8 for the virtual enviorment?

sorry about the double post

Hi, you should already be on 3.8 for your current account. If you tried running python from the console- try using python3 or python3.8 instead.

The website is very much slow.

Which website? PythonAnywhere itself? Or a website that you are running on PythonAnywhere?

Hello, please upgrade my account to python 3.8. Thank you very much.

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.

Hello Good day , i would like to start using python38 in my bash ...how do i go about it?

Run python3.8 in a Bash console to run Python 3.8

okay thank you !

please could you upgrade my bush to python 3.7.7

@yrysbek 3.7.5 is the newest version of python 3.7 available on PythonAnywhere at the moment.

Hello! Please update my system to the latest version

Why is it constantly writing to me in Bash that I have version Python 2.7, but I have the LATEST VERSION installed? !!!

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.

Hello I need some help . Bash is writing everything in python2.7. How can I get it to run in 3.8?

How are you running your code from Bash?

When I setup my Virtual environment In Bash I request python 3.8, but it still default python to 2.7.12. It's incompatible with my web app. Can you upgrade it to 3.8?

What command do you use to create a virtual environment?

Hi. Could you upgrade my system to the latest version? Thank you! (Also, how would I know when it is upgraded?)

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.

Could u upgrade my python to ver 3.8, please?

Could u upgrade my python to ver 3.8, please?

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.

when i tried to load my python script with python3.8 this error message apears, can you change it for me pls ?

python3.8 File "<stdin>", line 1 python3.8 ^ SyntaxError: invalid syntax

is the first line of your file "python3.8"? If so that is incorrect.

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.

please could you upgrade my bush to python 3.8? I would like to install a package via pip which is not available in python2.7

Your account already has it. You just need to use it with python3.8 and pip38

Hi Glenn,

Please upgrade my image to latest python3 version. I understand the risk of newer python modules etc.

Thanks.

No problem. I have updated your system image.

hi can you update my account to 3.8 aswell? thanks

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.

Hello, could you upgrade me to 3.8 also?

@mchant It's done for you.

I'd love to be upgraded to the more recent Python version if possible with my account, I understand the risks with breakage of existing things and I'm totally fine with that!

@janis It's done for you.

Hey please upgrade my account to Python3 as well, it will be a great help, Thank You!

Your account is on the most recent system image and your default Python versions are 3.8. Mind that when you use bare python (or -- respectively -- pip) in a Bash console it will default to Python 2.7 since it is the default Python on Ubuntu we're currently running.

Hey please upgrade my account to Python3 as well, Thank You

Your account already has Python 3.8. You just need to use it with python3.8

Can you upgrade my account to 3.8 please?

@jich24 Your account already has Python 3.8. You just need to use it with python3.8 command

hi, how could I upgrade to python3.8 or 3.9?

No problem. I have updated your system image, so Python 3.8 will be available.

please I need to update python to it's latest version it shows for me: Python 2.7.12 Thank you so much

Hi, @roaasoloh. You're on the latest system image so you can use Python 3.8. 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.

Please upgrade my account from python 2.7.12 to python 3.8.5

You're on the latest system image so you can use Python 3.8. 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.

Please upgrade my account from python 2.7.12 to python 3.8.5

Hi, @nikitas1, you are already on the lates system image having access to Python 3.8.0. 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.

I specified python3. 6 at the time of creating virtual environment but it automatically took python2. 7 Now i am having error no module named PIL. Plz help me upgrade my python version...

You are on the newest system image, so you have python3.7 and 3.8. How did you create your venv? What command did you use? How do you use it? How do you run your code?

Could I have my account upgraded to python3.8 as well please. I need it for my project.

I just want you to upgrade my python version to 3.6 Please help me...

If you run python3.6, then you will get Python 3.6. It is already available for your account.

Hello, Sir, I want to upgrade my account to python3.8. Please help. Regards.

No problem. I have updated your system image.

Hello, Sir, I want to upgrade my account to python3.8. Please help.

If you run python3.8, then you will get Python 3.8. It is already available for your account.