Hi Jennie,
Actually I tried to edit the file pyapi_locatepython.bat as it is called from the M5server.bat to handle python loading options.
Please note that i uninstalled python 2.7 and i only have python 3.6 installed.
new pyapi_locatepython.bat content:
set LOCALPYTHONHOME=C:\Python36
set LOCALPYTHONPATH=C:\Python36\Lib
IF defined LOCALPYTHONHOME (
endlocal & (
set PYTHONHOME=%LOCALPYTHONHOME%
set PYTHONPATH=%LOCALPYTHONPATH%
set MONETDBPYTHONUDF=embedded_py=true
set "PATH=%LOCALPYTHONHOME%;%PATH%"
)
) ELSE (
@echo MonetDB/Python Disabled: Python 3.6 installation not found.
endlocal
)
I am having this error:
!SyntaxException:parseError:
!LoaderException:loadLibrary:Loading error failed to open library pyapi (from wi
thin file 'C:\Program Files\MonetDB\MonetDB5\lib\monetdb5\lib_pyapi.dll'):
!SyntaxException:parseError:
!<identifier> expected
Thank you.