[RESOLVED] Qunex_container script syntax error

I downloaded today (June 15, 2022) the qunex_container by following the instructions here: Log in with Atlassian account

When I tried to run “qunex_container” in the terminal, I got this error:
cn2107:qunex moana004$ qunex_container
File “/home/moanae/moana004/qunex/qunex_container”, line 985
scriptPath = os.path.join(batchlogsfolder, f’qunex_container_command_{timestamp}.scheduler’)
^
SyntaxError: invalid syntax

I looked at the qunex_container code, and this if statement seems to be the issue, since if I comment it out the script runs fine:
if batchlogsfolder is not None:
scriptPath = os.path.join(batchlogsfolder, f’qunex_container_command_{timestamp}.scheduler’)
else:
scriptPath = os.path.join(homedir, f’qunex_container_command_{timestamp}.scheduler’)

Any ideas on this issue? Thank you.

I found the issue. The default python loaded in the HPC system at my university is Python 2.7.5. Once I loaded Python 3.8.3 then qunex_container works as expected.

Thanks for figuring this out on your own. Yes, qunex_container script requires Python 3.