-
Notifications
You must be signed in to change notification settings - Fork 68
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
Cmake doesn't recognize homebrew installed python. #6
Comments
Hi, could you please run /usr/local/bin/python -c "import sys; from distutils import sysconfig; and report the output? Maybe your homebrew python installation is faulty. Thanks Am Dienstag, 20. Mai 2014, 02:34:18 schrieb NiekSchultheiss:
Dipl.-Phys. Gero Müller |
Running: >>> import sys
>>> from distutils import sysconfig
>>> sysconfig.get_python_inc()
'/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/include/python2.7' Thanks, |
Hello! There was a recent change in python/Python.cmake that might fix that. Can you try setting these options when running cmake: Please let me know the outcome of this. Rafael |
assume solved |
Propagation comparison of CK and BP
Update of output and plugin documentation
I had to apply some hacks to get CRPropa running on my system with a Homebrew installed Python.
It showed the correct paths to the
/usr/local
version of Python duringcmake ..
However, when doing
ccmake ..
it used the wrong Python Headers:I had to manually set the Python headers location to the homebrew version:
Then I proceeded with
make && make test
, which passed 100%, thenmake install
.Which also went fine, but importing crpropa resulted in Python crashing.
I found wrong links to python:
And had to change it to the correct one:
After which running the example worked.
The text was updated successfully, but these errors were encountered: