jurplel / install-qt-action

Install Qt on your Github Actions workflows with just one simple action
MIT License
459 stars 78 forks source link

Python error at pip upgrade #127

Closed MichaelVoelkel closed 2 years ago

MichaelVoelkel commented 2 years ago

Hi,

Python makes trouble at macOS10.15 self-hosted runner, any idea? Also have qt5.15 installed myself, but it's fine if the runner installs it locally itself.

Deleting Python 3.10.0
23
Create Python 3.10.0 folder
24
Copy Python binaries to hostedtoolcache folder
25
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
26
Upgrading pip...
27
Error: dyld: Library not loaded: /Users/runner/hostedtoolcache/Python/3.10.0/x64/lib/libpython3.10.dylib
28
  Referenced from: /Users/michael/actions-runner/_work/_tool/P
29
Error: ython/3.10.0/x64/bin/./python
29
  Reason: image not found
30
./setup.sh: line 52: 57988 Abort trap: 6           ./python -m ensurepip
31
Error: The process 'bash' failed with exit code 134

which python3 says /usr/local/bin/python3 in general...

Also cross-posted to aqtinstall in case you think it fits better there: https://github.com/miurahr/aqtinstall/issues/469 (but THEY apparently think, it does not fit there)

MichaelVoelkel commented 2 years ago

Tried on a 2nd Mac, also not working with same error

jurplel commented 2 years ago
image

Take a look there ^

MichaelVoelkel commented 2 years ago

Indeed, works like a charm!!

Actually, I should have read your great documentation before, sorry for that... I played with multiple GitHub Actions that led to trouble and therefore overlooked this piece of information. Works like a charm now, thank you!

jurplel commented 2 years ago

All good, I think i should have made this more obvious.