Skip to content

Conversation

@billmetangmo
Copy link

@billmetangmo billmetangmo commented Jul 26, 2022

When building the docker image, I got the issue

aarch64-linux-gnu-gcc: error trying to exec 'cc1plus': execvp: No such file or directory
    error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-DgBg6u/brotli/setup.py'"'"'; __file__='"'"'/tmp/pip-install-DgBg6u/brotli/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-8I3TnB/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python2.7/brotli Check the logs for full command output.

To fix it I need to reinstall build-essential and set cryptography to 2.8

@billmetangmo billmetangmo force-pushed the fix-error-execvp-no-such-file-or-directory branch from 2b00087 to ac581e1 Compare July 26, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant