reg-gen
reg-gen copied to clipboard
failed installation on Mac mini with Apple M2 Chip
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.
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?