-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Cannot install from setup.py [get_include() returns 'include'] #1344
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
Comments
This actually appears to be a pip problem. When creating the virtualenv it was installing https://github.com/pypa/pip/blob/release/10.0.0/src/pip/_internal/locations.py)`. Forcing an install of the previous version fixes it. pip install pip==9.0.3 |
I'm reopening this as I believe it should still be fixed to account for |
I opened an issue upstream in pip: pypa/pip#5191 |
I'm adding this link: |
Thank you @eladj . Closing this as this now-merged PR fixes the issue as discussed here. |
Issue description
The current python example setup.py layout fails to correctly compile the extension. This feels like a recent change as I have used it's template previously with no trouble.
Any help would be very much appreciated! Thanks.
Reproducible example code
The expected behaviour is that the package compiles the extension and installs normally.
Actual behaviour is that the
pybind11/pybind11.h
header is not found. If I install and run theget_include
function of the pybind11 library manually, it returns the string"include"
.python -c "import pybind11; print(pybind11.get_include());"
System
Ubuntu 16.04.4 LTS
Python 3.5.2
The text was updated successfully, but these errors were encountered: