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 - the clang compiler does not support '-march=native' #594

Closed
leschiffres opened this issue May 16, 2022 · 1 comment
Closed

MACOS - the clang compiler does not support '-march=native' #594

leschiffres opened this issue May 16, 2022 · 1 comment

Comments

@leschiffres
Copy link

leschiffres commented May 16, 2022

Hi,

I was able to install annoy using pip, but weirdly enough when using poetry I am getting the issue clang: error: the clang compiler does not support '-march=native'

  • I’ve tried python 3.8, 3.9 and it fails on both python versions
  • I tried to install it by adding the line annoy = { git = "https://github.com/spotify/annoy/", tag = "v1.17.0" } in the pyproject.toml file and this did not work either.
  • I also installed gcc with brew using brew install gcc.

I found some related issues like this one and and this one and still nothing works.

Any ideas? ( I am using macOS Monterrey 12.3.1. and poetry version 1.1.9)

@leschiffres
Copy link
Author

It seems that updating poetry to 1.1.13 fixed the issue. Closing the thread.

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