Closed
Description
Noticed in #7333 with https://github.com/jupyter/notebook/actions/runs/8859936657/job/24330287022?pr=7333 :
Version ~3.8.0-0 was not found in the local cache
Version ~3.8.0-0 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.8.18-5997368067/python-3.8.18-darwin-x64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz -C /Users/runner/work/_temp/58bc372b-5852-490a-a919-3c46ac993d4e -f /Users/runner/work/_temp/625446fc-9f57-4c21-8ae9-7a8c8eb4834a
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.8.18 folder
Copy Python binaries to hostedtoolcache folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Upgrading pip...
Error: dyld[4231]: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
Referenced from: <1286E7D2-FA50-3ECE-8514-2AB7882601AE> /Users/runner/hostedtoolcache/Python/3.8.18/x64/bin/python3.8
Reason: tried: '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/gettext
Error: /lib/libintl.8.dylib' (no such file), '/usr/local/opt/gettext/lib/libintl.8.dylib' (no such file), '/usr/local/lib/libintl.8.dylib' (no such file), '/usr/lib/libintl.8.dylib' (no such file, not in dyld cache)
Error: ./setup.sh: line 52: 4231 Abort trap: 6 ./python -m ensurepip
Error: The process '/bin/bash' failed with exit code 134