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

Installing on Mac Error #2

Open
tch1001 opened this issue Oct 14, 2022 · 0 comments
Open

Installing on Mac Error #2

tch1001 opened this issue Oct 14, 2022 · 0 comments

Comments

@tch1001
Copy link

tch1001 commented Oct 14, 2022

Installing on Intel Mac, python setup.py install leads to this error from the ninja subprogress

/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported

In total there are 20 errors, resulting in

subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. 

and

  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/torch/utils/cpp_extension.py", line 1824, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

Any help? Thanks!

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

1 participant