Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 437 Bytes

install-pyrfr-on-macos.md

File metadata and controls

12 lines (11 loc) · 437 Bytes

How to install pyrfr on macOS

  1. Download the source code of pyrfr.
  2. Unzip the file and go to pyrfr's directory.
  3. Modify the extra_compile_args in setup.py as follows
extra_compile_args = ['-O2', '-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7']
  1. Run the following command
env CC="/usr/bin/gcc -stdlib=libc++ -mmacosx-version-min=10.7" pip install .