-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pip install fails on Mac laptop #447
Comments
Seems to be solved by using: |
Reopening this until I can address this in the documentation (at minimum). CC @eteq |
@manodeep - is it possible you're using the Mac OS X built-in Python? It sometimes yields weird linker errors like that, especially if you mix it with If so, that's basically the problem. Life will be easier if you never use the OS X Python. |
@eteq I use conda python + pip. I checked that both pip and python point to the anaconda directory. gcc is through macports, as is clang. I agree that the includepath pointing to the MAC SDK is highly suspicious - I wonder if macports pulls that in during gcc install. |
Huh, that's quite strange. I have essentially the identical setup on the laptop I am type this from right now, and it defaults to Based on the above, though, it seems like this is an issue with your local configuration and not directly the fault of halotools, right? And it's not clear that the general advice should be "use clange" because sometimes gcc is desired (i.e. on linux). So in that case it might be ok to close this without modifying halotools at all, although @aphearin can be the final judge of that. |
I wanted to note that this issue still remains. Just did a fresh git clone and tried |
Nothing really leaps to mind. Although if @manodeep has the same problem installing Astropy, I'm even more confused because I also have Maybe @manodeep has the path set up in a different order or something? @manodeep, if you just do |
Apple LLVM version 7.3.0 (clang-703.0.31)
|
Huh. Well that's weird, @manodeep . One other thing I just noticed, though: when I start anaconda Which makes me think of one other thing: have you ever used |
I get a similar output as well from However, my The good news is that now I can install halotools. I removed all previous versions, and then
Something in |
I tried to install halotools with (conda) pip
pip install halotools
and the install fails withA similar error occurs during the build step as well. I have copy-pasted the one from the install step.
The text was updated successfully, but these errors were encountered: