Skip to content
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

pip install on ubuntu failing because of pybind11 #8

Open
smiet opened this issue Sep 21, 2021 · 0 comments
Open

pip install on ubuntu failing because of pybind11 #8

smiet opened this issue Sep 21, 2021 · 0 comments

Comments

@smiet
Copy link

smiet commented Sep 21, 2021

Trying to install booz_xform via pip install -v booz_xform, and I get the following error from pybind11:

  Result of python -m pybind11 --cmakedir:
  CMake Error at CMakeLists.txt:61 (find_package):
    Could not find a package configuration file provided by "pybind11" with any
    of the following names:

      pybind11Config.cmake
      pybind11-config.cmake

    Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
    "pybind11_DIR" to a directory containing one of the above files.  If
    "pybind11" provides a separate development package or SDK, be sure it has
    been installed.

This is addressed in the pybind11 documentation.

pip installs booz-xform sucessfully if the user runs pip install "pybind11[global]" manually, but this is not recommended.

It is recommended to set the this in the pyproject.toml, but I do not know exactly how to do this. the

What does work is replacing the pybind11 package with the pybind11-global package in the pyproject.toml file.

Could instructions on this be included in the installation section?

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

No branches or pull requests

1 participant