I’m new to acados and I first wanted to run acados python examples to see how they work.
But when I run python3 any_example_file_name.py
in the commands prompt I get this error:
SyntaxError: encoding problem: future_fstrings
Can anyone help fix this?
Thanks a lot in advance
Which Python version do you have?
I’ve got Python 3.9, recently installed on a quite new PC
The line # -*- coding: future_fstrings -*-
should ensure backwards compatibility below Python 3.9
I remember someone already had this problem, you can just remove this line.
I don’t know in what kind of system setup this is an issue.
1 Like
Thank you so much, solved! Didn’t know this line was executed since it begins with “#”.
Whithout it it compiles