-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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@3.11 fails to install in GitHub runner image #173191
Comments
This could be fixed by running This is treated as a runner image bug in #165793 (comment) when installing I wonder what's the real cause of this issue. |
Could you check what the output of
is before doing |
The real cause is GitHub Actions installs non-Homebrew Python into the Homebrew prefix so it's a GitHub bug due to that since you can't install two things into the same place. The issue is fixed on their |
This was my suspicion too, but wanted to be sure. No idea why actions/runner-images#9471 (comment) suggests otherwise. |
|
Yep, seems like a GitHub Actions issue to me. Try doing
|
It appears that the link file generated by I believe this is a runner image bug, I'll create a bug report later. |
Workaround for github/brew problem. Python is already install on the Github action runner and then homebrew comes along... See also: Homebrew/homebrew-core#173191
Workaround for github/brew problem. Python is already install on the Github action runner and then homebrew comes along... See also: Homebrew/homebrew-core#173191
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Install Python@3.11 package
Related issue: Azure/azure-cli#29054
What happened (include all command output)?
The exit code is 1
What did you expect to happen?
The exit code should be 0
Step-by-step reproduction instructions (by running
brew
commands)Here is the command:
Here is the GitHub workflow log:
https://github.com/bebound/starter-workflows/actions/runs/9296281295/job/25584574480
The text was updated successfully, but these errors were encountered: