Scons "invalid syntax" when trying to build release template on Ubuntu 16.04

Godot Version

v4.4.1.stable.mono.official [49a5bc7b6]

Question

I was trying to build my release templates with my custom encryption key inside a VM running Ubuntu 16.04 as per the documentation’s suggestion:

I made sure that ALL required packages are installed from here:

However, even with everything correctly installed, and I’m detached on 4.4.1-stable as soon as I try to build it all, it fails IMMEDIATELY with the following error message:

Here’s the command I tried to use:

scons platform=linuxbsd arch=x86_64 target=template_release use_llvm=true module_mono_enabled=yes

Any idea what’s going on? Am I missing something?

You may want to upgrade your distro to the current LTS. That error is related to python and 16.04 only supports python 3.52 by defualt and the reqs state python 3.8+

I have had no issue on 24.04

I’m sorry but you misunderstood the issue. I’m not upgrading to the latest LTS version because this VM is specifically made to build the release template so that older distros can play my game too. This is stated in the documentation:

I use the version specifically stated BY the documentation.

You would need to download python 3.8 on the VM and adjust your build environment to avoid the defualt python instance, although i dont know how to specifically do that.

1 Like