Skip to content
Advertisement

NetCore 3.1: How to execute python.exe using Process on Azure?

I have a NetCore3.1 server app. On my local setup I can use Process to execute python to do some dataframe crunching that I have installed in a venv.

On Azure, I can use site extensions to install a local copy of python and all my needed libs. (It’s located in D:/home/python364x86/).

Now on my published Azure app, I want my process to execute python as on my local setup. I have configured the proper path, but I get this error: “Unexpected character encountered while parsing value: D. Path ”, line 0, position 0.”

Would anyone know why this is failing? Many thanks for any help.

Advertisement

Answer

Please notice that the python extension is in the website extension, so it should be impossible to access the python extension in code.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement