Plaxis-Python, compiled script error (V22)

Hi,

I'm trying to compile an internally used python script, which is pretty complex (6000 lines), using pyinstaller - with the idea that this would be more widely adopted if people can just run an EXE file rather than installing python modules etc.

After compiling the script, and trialling building a model - I find that it works as expected for Plaxis V21. However it doesn't seem to work for Plaxis V22, we get the following error:

  

I appreciate this is a very niche question - however I'm not sure a way around this, and would appreciate any guidance based on the plaxis error.

Many thanks,

Matthew