Error initializing application: 'SirilInterface' object has no attribute 'is_cli'

Hi:

When I try to run some python scripts like “Statistical_Stretch.py”, I get the error noted in the title.

I use Linux mint and Siril flatpak.

Any idea how to solve it?

Tanks

How is the py script trying to call siril?

Very often that means you are not using last siril version.

Not, I use the last version Siril 1.4.0-beta2

that happens at least with the official script “Statistical_Stretch.py”,

You should try to reset your Venv in Siril

Thanks! It work now.