How to install pyrfr on macOS¶
Download the source code of pyrfr.
Unzip the file and go to
pyrfr
’s directory.Modify the
extra_compile_args
insetup.py
as followsextra_compile_args = ['-O2', '-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7']
Run the following command:
env CC="/usr/bin/gcc -stdlib=libc++ -mmacosx-version-min=10.7" pip install .