reg-gen icon indicating copy to clipboard operation
reg-gen copied to clipboard

failed installation on Mac mini with Apple M2 Chip

Open JianxunHan opened this issue 1 year ago • 1 comments
trafficstars

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 https://github.com/pypa/pip/issues/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 avatar Mar 28 '24 16:03 JianxunHan

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

JianxunHan avatar Mar 28 '24 18:03 JianxunHan