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

Failed to build installable wheels for some pyproject.toml based projects (google-re2) #526

Open
7WMW7 opened this issue Dec 21, 2024 · 0 comments

Comments

@7WMW7
Copy link

7WMW7 commented Dec 21, 2024

Building wheels for collected packages: google-re2
Building wheel for google-re2 (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for google-re2 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-312/re2
copying re2/init.py -> build/lib.linux-x86_64-cpython-312/re2
running build_ext
building '_re2' extension
creating build/temp.linux-x86_64-cpython-312
g++ -pthread -B /tools/anaconda/anaconda3-2024.06/compiler_compat -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /tools/anaconda/anaconda3-2024.06/include -fPIC -O2 -isystem /tools/anaconda/anaconda3-2024.06/include -fPIC -I/data/qixiaorong01/airflow/include -I/tools/anaconda/anaconda3-2024.06/include/python3.12 -c _re2.cc -o build/temp.linux-x86_64-cpython-312/_re2.o -fvisibility=hidden
_re2.cc:16:10: fatal error: pybind11/buffer_info.h: No such file or directory
16 | #include "pybind11/buffer_info.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/opt/compiler/gcc-12/bin/g++' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for google-re2
Failed to build google-re2
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (google-re2)

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

2 participants
@7WMW7 and others