get_include seems to be broken with pip version 10.0.
rmjarvis opened this issue · comments
Mike Jarvis commented
pip version 10.0 doesn't have a pip.locations
. So pybind11.get_include()
just returns 'include'
after the ImportError.
Workaround for now is to require pip version 9.0.3. But ideal if you could figure out what the right pip function to call is when pip.__version__ > '10.0'
.
Sylvain Corlay commented
Thanks for the report!
Cress referencing pybind/pybind11#1190
Mike Jarvis commented
Ah. Thanks for the cross-reference. I had meant to be reporting this in the pybind11 issues, but I guess I missed. Closing this in preference for that issue that seems to already have a fix in place.