If you run the script directly from geany with F5 you have to set the proper python version in geany (Build -> Build Menu Commands)
file:///usr/share/doc/geany/html/index.html#build-menu-commands-dialog

In 'Execute commands', 'Execute' -> python3 "%f"

Reply via email to