Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

pip10 breaks pybind11 #493

Open
ddu1 opened this issue Apr 20, 2018 · 2 comments
Open

pip10 breaks pybind11 #493

ddu1 opened this issue Apr 20, 2018 · 2 comments

Comments

@ddu1
Copy link

ddu1 commented Apr 20, 2018

After upgrading to pip10, the python build will throw the following error:

python/fastText/pybind/fasttext_pybind.cc:13:31: fatal error: pybind11/pybind11.h: No such file or directory

pip can no longer find the includes of pybind11.
The issue is really a pybind11 issue. See the discussion at pybind/pybind11#1174

@EdouardGrave
Copy link
Contributor

Hi @ddu1,

Thank you for reporting this issue.

Does using the latest version of pybind11 fixes the issue (c.f. #488)?

Best,
Edouard

@ddu1
Copy link
Author

ddu1 commented Apr 27, 2018

@EdouardGrave,
Yes, as mentioned in #488, the fix 060936f of pybind11 solves the issue.
However before the next release of pybind11, I would simply change setup.py a bit,

install_requires=["pybind11>=2.2", "setuptools >= 0.7.0", "numpy", "pip>=9,<10" ]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants