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

failed installation on Mac mini with Apple M2 Chip #269

Open
JianxunHan opened this issue Mar 28, 2024 · 1 comment
Open

failed installation on Mac mini with Apple M2 Chip #269

JianxunHan opened this issue Mar 28, 2024 · 1 comment

Comments

@JianxunHan
Copy link

Screenshot 2024-03-28 at 11 50 03 AM

I encountered this error message when installing RGT. I noticed a warning when I ran the command "pip3 install RGT --no-binary RGT". It said "WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see pypa/pip#5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable". I am not sure it was the reason for failing to build the wheel for moods-python.

Screenshot 2024-03-28 at 12 15 33 PM

@JianxunHan
Copy link
Author

I read the error report again. Now I believe the problem has nothing to do with the "pip install". Rather it is caused by the Clang compiler does not support 'march=native'. The version of Clang on my Mac mini is 17.0.6. Is it wise to install an earlier version of Clang compiler?

Screenshot 2024-03-28 at 2 35 57 PM

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