-
Notifications
You must be signed in to change notification settings - Fork 5
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
Troubles with rdkit on MacOS 10.12.4 #23
Comments
This is very odd, given that the full python include path is correctly listed as one of the I can't reproduce this, however I do have python 2.7.13 installed, not 2.7.12_2, but that shouldn't really make any difference. All I can recommend is doing |
I noticed there is a thing called "superenv", which I do not really
understand, but which left in my mind the possibility that it somehow
overrides the -I command line flag, which could explain the odd
behavior. "superenv" seems to be a homebrew thing, and not really
understanding it, I might be spewing nonsense here.
I did do most of the things you recommend, including reinstalling boost,
to no effect. If it was just me, it wouldn't be much of a problem, but I
noticed there was a very recent update to Xcode (which, I believe,
includes clang), and I fear that might be what caused it. If this is the
case, the problem would rear its ugly head for real, soon. Have you
applied all the most recent Apple upgrades?
…On 5/2/17 4:28 PM, Matt Swain wrote:
This is very odd, given that the full python include path is correctly
listed as one of the |-I| flags for clang, as you say. You obviously
shouldn't have to make the symlinks.
I can't reproduce this, however I do have python 2.7.13 installed, not
2.7.12_2, but that shouldn't really make any different.
All I can recommend is doing |brew update|, |brew upgrade|, |brew
doctor| to see if that does anything useful... then maybe try
reinstalling boost-python, explicitly giving both python versions:
|--with-python --with-python3|?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACWdoPosf3-p2MTMkSRaHF3pJPSAuyzIks5r15HtgaJpZM4NMTcL>.
|
Installation for python 3 worked perfectly:
but installation for python 2 failed:
Looking at the gist log
shows the following (https://gist.github.com/anonymous/54edc245bc38d5572be49f23675a4e86):
This is very curious, because the file "pyconfig.h" exists within /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7, which is listed as one of the -I flags to clang.
What worked for me was to create symlinks for all the files in /usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 in /usr/local/include, but this is hardly a good fix.
The text was updated successfully, but these errors were encountered: