You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Running under Debian Linux - python37 not found #28
I'm trying to run the sample program under the Debian Linux and get the error:
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'python37' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libpython37: cannot open shared object file: No such file or directory
at Python.Runtime.Runtime.Py_IsInitialized()
Also I've checked that in the ~/.local/share I have python3.7 but this is Windows distribution. Debian itself has python3.7 installed as well.
Is it possible to have Linux python distribution included into Python.Included?
yes. others have done so successfully. you'll find a closed thread on linux / mac support which might give you hints. anyhow, I am not a linux user. I just merged the linux support others have donated and taken their word that it works. you might want to look under the hood. the code is not complicated and you'll probably quickly find why it doesn't work for you.
PS: you'll have to use the installer part of python.included in namespace Python.Deployment and install a linux python distri i.e. via download source or by manually packing it into the assembly. There are a few examples showing how to use the various install routines.
Activity
henon commentedon May 11, 2021
yes. others have done so successfully. you'll find a closed thread on linux / mac support which might give you hints. anyhow, I am not a linux user. I just merged the linux support others have donated and taken their word that it works. you might want to look under the hood. the code is not complicated and you'll probably quickly find why it doesn't work for you.
PS: you'll have to use the installer part of python.included in namespace Python.Deployment and install a linux python distri i.e. via download source or by manually packing it into the assembly. There are a few examples showing how to use the various install routines.
henon commentedon May 13, 2021
Can you send a Pull Request with the change? I'll merge and update the nuget.
Edit: Whoops, I think you deleted your reply.