Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS M1 build error #2

Open
loretoparisi opened this issue Dec 28, 2022 · 2 comments
Open

macOS M1 build error #2

loretoparisi opened this issue Dec 28, 2022 · 2 comments

Comments

@loretoparisi
Copy link

loretoparisi commented Dec 28, 2022

While running on macOS M1 I get

ERROR: Command errored out with exit status 1: /Users/loreto/opt/miniconda3/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/dr/lzd3czf922qcgj0xpdyg3dc40000gn/T/pip-install-3lhdxoh9/pycryptodome_3d5818659ba54c90872d4993a0d9e451/setup.py'"'"'; __file__='"'"'/private/var/folders/dr/lzd3czf922qcgj0xpdyg3dc40000gn/T/pip-install-3lhdxoh9/pycryptodome_3d5818659ba54c90872d4993a0d9e451/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/dr/lzd3czf922qcgj0xpdyg3dc40000gn/T/pip-record-4rdpmt_6/install-record.txt --single-version-externally-managed --compile --install-headers /Users/loreto/opt/miniconda3/include/python3.9/pycryptodome Check the logs for full command output.

that seems to be connected to this issue
Nitrokey/pynitrokey#226

I have tried to update/install Xcode additional components - as suggested here

/Applications/Xcode.app/Contents/MacOS/Xcode -installComponents

with no success so far.

@abhishekkrthakur
Copy link
Owner

could you please try on latest main branch with --device mps? sorry, i dont have a m1 myself so i cant test, unfortunately.

@untitled01ipynb
Copy link

FYI: Just built from scratch on M1 Ventura 13.1 (22C65), python 3.10 venv

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

No branches or pull requests

3 participants