Pythonscript permission denied

Hello
(using axc f 2152, PLCnext Engineer 2024, FW 2023.6.0 and HW 02)
I was using PBCL_SysLinuxShell_1 FB to call a pythonscript on the PLC. This worked as intended. I must have changed some settings because now I get follow error from the FB:
image.png
The only setting I remember changing was enabling the REST interface. It’s turned off again but the same notification occurs. Next I gave the python file execute permission and got this:
image.png
The first four lines of code are:
image.pngIt seems as if it can’t find/ open these python packages anymore.
Is this a permission problem?
If so how exactly do I give permission to the folder which includes all the files needed?
How come it suddenly doesn’t work anymore?

Kind regards
Mathieu

Maybe there was a Type 1 reset, which would restore the default file system, or else a quick series of multiple restarts that caused the active/backup boot partitions to swap.
If you can send the Output.log file from the device to the technical specialists in your local Phoenix Contact office, then then they can check it for clues.

Thanks Martin, I will give it a try.

Problem solved. I forgot to add python3 to the FB’s string command. Thanks to support for pointing this out to me.