-
Notifications
You must be signed in to change notification settings - Fork 327
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
Python shared library & Actions runners #1262
Comments
How was Python built / installed? Normally, one needs to pass EDIT: Sorry, I see you're logging that via |
The relevant code for finding libpython is here: Lines 715 to 747 in f77d611
Are you able to check whether those configuration variables are set as expected? The output of the following might also be helpful:
as that will dump some of the configuration variables that |
Sorry - I should have been clearer labeling that first diagnostic 😳 Here's the listing for each I'll spend some time poking around the Thanks! ✅ GitHub
❌ GHE
|
As for config: on GHE, there seems to be a mismatch between This line, and the Line 722 in f77d611
Let me try a fork, where it will prefer I'll need to talk to "my people", but I think ✅ GitHub
❌ GHE
|
Hi @kevinushey - I poked around some more, and I think I have a theory of the case. The root of the problem seems to be that when I use
Poking around the setup-python repo, I see an issue that looks suspiciously familiar: I also see a series of recent merged PRs to solve the issue:
I realize that I am working with v3 (as this is what my GHE supports now); the larger point is that I don't think this is a reticulate issue - I will have a chat with "my folks" to see what can be done. With your permission, I'll close this now with my thanks, but I will add to the issue with details on how we get this sorted out, in case someone else might find it interesting. Thanks! |
Thanks for reporting back with the extra investigation! Please still let us know if there's something we can do on the |
First off, I am trying mightily to keep this from being a "fix-my-runner" issue. Rather, I'm aiming for "how can I give reticulate the information it needs to succeed?"
My company has an instance of GitHub Enterprise; we use a self-hosted ubuntu runner. I am able to get it to work with renv and Quarto actions, but I run into trouble when I try to use reticulate.
Everything works fine on public GitHub:
I am using essentially the same workflow file on both GitHub and GitHub Enterprise.
In both places, I run:
and
A difference seems to be that on GHE,
libpython
is not found despiteLD_LIBRARY_PATH
being set.As well, FWIW, this seems a little bit like #836.
Thanks for any light you can shed on this!
✅ GitHub
❌ GitHub Enterprise
The text was updated successfully, but these errors were encountered: