Closed geoffrey4444 closed 4 years ago
Did you figure out a way around this? I am facing the exact same problem.
I cannot reproduce this error. I am using a conda 4.7.12 environment on macOS 10.15.2. pip install pycbc
pulls version 1.15.2 and installs it ok. Basic functionality appears to work.
Edit: I have the developer tools installed (I am not sure if having Anaconda already implies that).
@geoffrey4444 @Shrobana The issues seems to be the same as this one https://github.com/Jonathan-LeRoux/lws/issues/7. Do any of their suggestions address the problem for you?
Thanks @ahnitz , it worked by cloning the repo and then editing the setup.py file as
extra_compile_args=["-O3", "-stdlib=libc++"], extra_link_args=["-stdlib=libc++"]
(not sure if both args need to be reset). However just updating xcode and CommandLineTools, and then trying pip install did not work.
@Shrobana Huh, interesting. Thanks for tracking down a solution. @spxiwh @josh-willis Should we add this to our standard build? We should check what it does on linux, etc, or if it's just for MacOSX.
Hi all, I am using Python 3.6 and macOS 10.15.1. I just tried
pip3 install pycbc
and got the same error. So it's still an issue. Trying the workaround now :)
Hi all, I am using Python 3.6 and macOS 10.15.1. I just tried
pip3 install pycbc
and got the same error. So it's still an issue. Trying the workaround now :)
You could install python3 environment with anaconda3, and then pip install pycbc.
According to https://pycbc.org/pycbc/latest/html/install.html, PyCBC only supports Python2. Perhaps this is causing the problem?
According to https://pycbc.org/pycbc/latest/html/install.html, PyCBC only supports Python2. Perhaps this is causing the problem?
Sorry, that documentation is out of date. We will need to update that. PyCBC fully supports python 3 now.
Please re-open if this is still an issue, however, I hope that #3447 has resolve it.
I'm using anaconda3 and macOS 10.15.1.
pip install pycbc lalsuite
fails with this error: