-
Notifications
You must be signed in to change notification settings - Fork 58
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
Tests fail to find Python.h #272
Comments
When things are not found, the right definition to add is PYTHON_EXECUTABLE. We have found that more aggressive search strategies often ended up finding other python installs and linking with the wrong version. |
cmake finds the python executable fine:
It can't find the headers. |
Thanks. Is this happening on a distribution a patched cpython distribution? We rely on the same approach as pybind11 for this ... |
This is happening in the FreeBSD port. |
Okay. I don't know if the freebsd port patches cpython. We had some serious headaches in the past with Debian patching it to split between dist-packages and site-packages. |
Not sure if this is the issue : https://conda-forge.org/docs/maintainer/knowledge_base.html ? |
First it failed like this:
then it failed like this:
I had to add these arguments to fix these failures:
It should find relevant headers by itself.
The text was updated successfully, but these errors were encountered: