Ubuntu 16.04 / python 3.7: upgrading after years and get Syntax Error when trying to start up the new version

Feel free to talk about anything and everything in this board.
Post Reply
Ogre01
Newbie
Newbie
Posts: 5
Joined: June 20th, 2013, 3:20 pm

Ubuntu 16.04 / python 3.7: upgrading after years and get Syntax Error when trying to start up the new version

Post by Ogre01 »

I am on the older Ubuntu LTS version and did read that 3,7 was needed after 2,9,4 I think the version I was on. So I have installed 3,7,10, anyway here's my output and upgrade method.



~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16,04,7 LTS
Release: 16,04
Codename: xenial

~$ python3,7 --version
Python 3,7, 10



self._size: int = size
^
SyntaxError: invalid syntax


I'm not trying to post URL but not sure how to make it work so this is just the tidbit that is the error when I'm trying to start up the sabnzbd service by invoking it from the init.d folder inside etc. Performed with sudo.

Thanks in advance for any assistance.
User avatar
sander
Release Testers
Release Testers
Posts: 8812
Joined: January 22nd, 2008, 2:22 pm

Re: Ubuntu 16.04 / python 3.7: upgrading after years and get Syntax Error when trying to start up the new version

Post by sander »

(I changed the subject a bit.)

Ubuntu 16.04: "End of Life April 2021". It's now november 2021, so beyond EoL. So ... is it possible for you to upgrade Ubuntu to 18.04?
Ogre01
Newbie
Newbie
Posts: 5
Joined: June 20th, 2013, 3:20 pm

Re: Ubuntu 16.04 / python 3.7: upgrading after years and get Syntax Error when trying to start up the new version

Post by Ogre01 »

@sander, thank you so much for your suggestion. I pushed my ubuntu version up to 20.04. And it looks like that was it. I thought I had pushed my ubuntu version enough, guess it pays to read a bit better.
User avatar
sander
Release Testers
Release Testers
Posts: 8812
Joined: January 22nd, 2008, 2:22 pm

Re: Ubuntu 16.04 / python 3.7: upgrading after years and get Syntax Error when trying to start up the new version

Post by sander »

Nice. I still have a Ubuntu 18.04 VPS (with python 3.6), and I am hesitating to upgrade
Post Reply