Closed navanchauhan closed 4 years ago
Thanks for reporting the issue. Unfortunately, I know there is no wheel on pip for mac users, I need to do it.
However, I added some guidelines to install the project on Mac as a workaround :
brew install llvm # Depending on your OS, you might need the --without-multilib
brew install libomp
'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.bash_profile
CC=/usr/local/opt/llvm/bin/clang++ python setup.py install
Can you tell me if this is solving your issue ?
If you have still the same error, make sure to double check that libomp
is install and correctly linked by using ll /usr/local/opt/libomp
Has it solved your issue ?
I am unable to install llvm right now, as soon as I fix that I will revert back
@navanchauhan, Installing brew install libomp
is enough to solve your issue.
@navanchauhan As a side note, I have published the wheels for macOs users. pip install cpt
should be enough now. Could you confirm that ?
Works like a charm!
Glad to hear ! :)
Clang failing with error code 1