Dear Community,
I would like to integrate one external library called pyntcloud (https://github.com/daavoo/pyntcloud) within a workspace. I have made some testing within conda environment and everything worked perfectly.
However, when I wanted to run it within a FME workspace there was a problem with a package. The following error occurs:
2020-06-30 15:43:16| 0.5| 0.0|INFORM|Using Python interpreter from `C:\Program Files\FME\fmepython37\python37.dll' with PYTHONHOME `C:\Program Files\FME\fmepython37'
2020-06-30 15:43:16| 0.5| 0.0|INFORM|Python version 3.7 loaded successfully
2020-06-30 15:43:16| 0.5| 0.0|INFORM|Adding folder `C:\Users\SAVe\AppData\Local\Temp\' to the python path
2020-06-30 15:43:16| 0.5| 0.0|INFORM|Emptying factory pipeline
2020-06-30 15:43:17| 1.3| 0.8|ERROR |Python Exception <OSError>: aWinError 126] The specified module could not be found
2020-06-30 15:43:17| 1.3| 0.0|ERROR |Error executing string `import<space>fme<lf>import<space>fmeobjects<lf><lf>import<space>pyntcloud<lf><lf>def<space>processFeature<openparen>feature<closeparen>:<lf><space><space><space><space>pass<lf><lf>'
2020-06-30 15:43:17| 1.3| 0.0|FATAL |Factory proxy not initialized
2020-06-30 15:43:17| 1.3| 0.0|FATAL |PythonCaller (PythonFactory): PythonFactory failed to process feature
2020-06-30 15:43:17| 1.3| 0.0|ERROR |A fatal error has occurred. Check the logfile above for details
Even tough I have seen how to perform the installation (https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Installing-Python-Packages.htm). I have tried also to change native interpreter to Python 3.6 (as in case of my conda testing but still FME enforces Python 3.7).
I thought that alternative solution could be to point out to conda interpreter but then this error occurs:
2020-06-30 15:40:18| 0.5| 0.0|INFORM|The user-specified Python interpreter `C:\Users\SAVe\.conda\envs\YOLO\python36.dll' is version 3.6 with PYTHONHOME `C:\Users\SAVe\.conda\envs\YOLO'
2020-06-30 15:40:18| 0.5| 0.0|INFORM|Python version 3.6 loaded successfully
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00005e40 (most recent call first):
Error running translation.
Do you have any idea how to solve this?