You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @c121914yu. If you upgrade node-gyp to >=10 (preferred) or lock the Python version to the one before the distutils removal, the arm64 build should work.
- name: Set up Python
uses: actions/setup-python@v5
with:
# Lock version to avoid "distutils" error because it was removed in Python 3.12
# See: https://github.com/nodejs/node-gyp/issues/2869
# And: https://github.com/nodejs/node-gyp/pull/2923
python-version: '3.11'
action:
error
platform=amd64 can be built normally, but if you want to build an arm image you will be prompted with a python error.
The text was updated successfully, but these errors were encountered: