Just a note on alternative ways to install dependencies.
PyTorch
PyICU
- pyicu wheels https://github.com/cgohlke/pyicu-build/releases/
- macOS:
brew install icu4c
PKG_CONFIG_PATH=$(brew --prefix)/opt/icu4c/lib/pkgconfig
echo "PKG_CONFIG_PATH=${PKG_CONFIG_PATH}" >> "${GITHUB_ENV}"
ICU_VER=$(pkg-config --modversion icu-i18n)
echo "ICU_VER=${ICU_VER}"
echo "ICU_VER=${ICU_VER}" >> "${GITHUB_ENV}"
Notes
Just a note on alternative ways to install dependencies.
PyTorch
PyICU
Notes
bash -l {0}in GitHub Actions will make it use a default Python, which can be different from one installed bysetup-pythonand cause problem. (See Cannot use torch binary wheels on GitHub Actions (as default python version is 3.13) pytorch/pytorch#139288 (comment) )