-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve libpython search #75
Comments
What about using |
|
Hi Devin, if you look at Another solution: that Do I miss something there? |
Nope - that sounds great. Do you have a link to the source repository? My quick googling didn't find it. |
Or is this something that cpython maintains? |
I just "cat'ed" (or type'd if you are on a Windows platform) the copy of If you prefer to get the code from the "source", you will find it in the cpython repository: You will notice that the extension is .in, not .py |
Here's a little gist, https://gist.github.com/devinrsmith/1d7ba0131c6bbe74ade1b7d293ae282e I'm not able to replicate the issue @mofojed - we might need to look more closely at your setup? |
My python setup was out of date - I had a
Using the |
If this happens again,
would be useful debug information. |
https://cbs.centos.org/koji/rpminfo?rpmID=390332 I think virtual environments from "rh-python38 Software Collection" are incorrect; potentially, we need to include additional search paths, as in this case, it looks like the proper libpython is at
https://docs.python.org/3/library/sysconfig.html may be useful in these regards. In particular, potentially Note: rh-python38 Software Collection is EOL, but just used as an example of how we may want to improve the search. |
In the case of the rh-python38, we have |
It seems that jpyutil is unable to properly find libpython3.8.so.1.0 on Ubuntu 20.04 (see deephaven/deephaven-core#2641).
https://packages.ubuntu.com/focal/amd64/libpython3.8/filelist:
Maybe there is a more canonical way to reference the currently running libpython?
The text was updated successfully, but these errors were encountered: