Hello, I normally use P4D with a Conda environment, that is, in PythonEngine.DllPath, I put the path of the Conda environment that contains a version of python with all its libraries installed.
Then I load my script and call the functions I need. Normally this works fine but there are some libraries that fail to import.
When I call GetPythonEngine.ExecString(stMyScript);
fails in the line from super_gradients.training import models and returns the following message:
Exception class EPyAttributeError with message 'AttributeError: 'NoneType' object has no attribute 'write''.
However, when I run the same script in the Windows console or from vs code, it works without problems with the same Conda environment that has the libraries installed.
I know this is an environment or python problem, but I don't understand why I can't load some libraries this way.
Does anyone know any solution? Is there something I'm doing wrong?