pybind / python_example

Example pybind11 module built with a Python-based build system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_include seems to be broken with pip version 10.0.

rmjarvis opened this issue · comments

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'.

Thanks for the report!

Cress referencing pybind/pybind11#1190

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.