Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 686 Bytes

README_MACOS.md

File metadata and controls

15 lines (10 loc) · 686 Bytes

MACOS

First install Rust:

curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh

Enter new shell and test: rustc --version

When running a Mac with Intel hardware (not M1), you may run into _clang: error: the clang compiler does not support '-march=native'_ during pip install. If so, set your archflags during pip install. eg: ARCHFLAGS="-arch x86_64" pip3 install -r requirements.txt

If you encounter an error while building a wheel during the pip install process, you may need to install a C++ compiler on your computer.

Now go back to normal CPU installation.