You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "byunks (via GitHub)" <gi...@apache.org> on 2023/07/26 03:18:14 UTC

[GitHub] [airflow] byunks commented on issue #32849: Google-re2 installation fails

byunks commented on issue #32849:
URL: https://github.com/apache/airflow/issues/32849#issuecomment-1650914972

   Python 3.8.17
   ```
   Building wheels for collected packages: google-re2
     Building wheel for google-re2 (setup.py) ... error
     error: subprocess-exited-with-error
     
     × python setup.py bdist_wheel did not run successfully.
     │ exit code: 1
     ╰─> [15 lines of output]
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.macosx-10.9-x86_64-cpython-38
         copying re2.py -> build/lib.macosx-10.9-x86_64-cpython-38
         running build_ext
         building '_re2' extension
         creating build/temp.macosx-10.9-x86_64-cpython-38
         gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 -I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 -I/opt/homebrew/opt/krb5/include -I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include/python3.8 -c _re2.cc -o build/temp.macosx-10.9-x86_64-cpython-38/_re2.o -fvisibility=hidden
         _re2.cc:11:10: fatal error: 'pybind11/pybind11.h' file not found
         #include <pybind11/pybind11.h>
                  ^~~~~~~~~~~~~~~~~~~~~
         1 error generated.
         error: command '/usr/bin/gcc' 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
     Running setup.py clean for google-re2
   Failed to build google-re2
   ERROR: Could not build wheels for google-re2, which is required to install pyproject.toml-based projects
   ```
   
   Python 3.9.17
   ```
   Building wheels for collected packages: google-re2, pendulum
     Building wheel for google-re2 (setup.py) ... error
     error: subprocess-exited-with-error
     
     × python setup.py bdist_wheel did not run successfully.
     │ exit code: 1
     ╰─> [15 lines of output]
         running bdist_wheel
         running build
         running build_py
         creating build
         creating build/lib.macosx-10.9-x86_64-cpython-39
         copying re2.py -> build/lib.macosx-10.9-x86_64-cpython-39
         running build_ext
         building '_re2' extension
         creating build/temp.macosx-10.9-x86_64-cpython-39
         clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 -I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -fPIC -O2 -isystem /Users/user/miniconda3/envs/airflow.kr.c3s-pan/include -arch x86_64 -I/opt/homebrew/opt/krb5/include -I/Users/user/miniconda3/envs/airflow.kr.c3s-pan/include/python3.9 -c _re2.cc -o build/temp.macosx-10.9-x86_64-cpython-39/_re2.o -fvisibility=hidden
         _re2.cc:11:10: fatal error: 'pybind11/pybind11.h' file not found
         #include <pybind11/pybind11.h>
                  ^~~~~~~~~~~~~~~~~~~~~
         1 error generated.
         error: command '/usr/bin/clang' 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
     Running setup.py clean for google-re2
     Building wheel for pendulum (pyproject.toml) ... done
     Created wheel for pendulum: filename=pendulum-2.1.2-cp39-cp39-macosx_13_0_x86_64.whl size=125122 sha256=fa5d6eb630f7f09458535781707f0d3909b1ec18287568a574fedd566be9b1ea
     Stored in directory: /Users/user/Library/Caches/pip/wheels/c9/c7/29/3cf0033406b18958d1a7b107c38be2405ef9c081b64a264fd5
   Successfully built pendulum
   Failed to build google-re2
   ERROR: Could not build wheels for google-re2, which is required to install pyproject.toml-based projects
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org