Skip to content

[Bug]: Cannot install due to missing pybind11 headers #32122

Description

@clin1234

Bug summary

Attempting to build from the Git repo errors with fatal error: 'pybind11/pybind11.h' file not found. I do have pybind11 installed globally.

Code for reproduction

1. Clone the repo
2. `cd matplotlib`
3. `pip install  --editable .[dev] --no-build-isolation`

Actual outcome

 > $ pip show pybind11                                                                                                                                        [±freethreaded_fixes ●●▴]
Name: pybind11
Version: 3.0.4
Summary: Seamless operability between C++11 and Python
Home-page: https://github.com/pybind/pybind11
Author: 
Author-email: Wenzel Jakob <wenzel.jakob@epfl.ch>
License-Expression: BSD-3-Clause
Location: C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Lib\site-packages
Requires: 
Required-by: 

> $ pip install  --editable .[dev] --no-build-isolation                                                                                                      [±freethreaded_fixes ●●▴]
Obtaining file:///C:/Users/%D7%A9%D7%96%D7%93%D7%A1/repos/matplotlib
  Checking if build backend supports build_editable ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [320 lines of output]
      + meson setup --reconfigure C:\Users\שזדס\repos\matplotlib C:\Users\שזדס\repos\matplotlib\build\cp315t -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\שזדס\repos\matplotlib\build\cp315t\meson-python-native-file.ini
      Cleaning... 0 files.
      The Meson build system
      Version: 1.11.2
      Source dir: C:\Users\שזדס\repos\matplotlib
      Build dir: C:\Users\שזדס\repos\matplotlib\build\cp315t
      Build type: native build
      Program python found: YES 3.15.0 3.15.0
      Project name: matplotlib
      Project version: 0.1.0.dev54955+unknown.g01dcacc1d.d20260726
      C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      C linker for the host machine: cc ld.lld 22.1.8
      C++ compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE c++ (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      C++ linker for the host machine: c++ ld.lld 22.1.8
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe)
      Dependency pybind11 for host machine found: YES 3.0.4 (cached)
      
      Executing subproject freetype2
      
      freetype2| Project name: freetype2
      freetype2| Project version: 2.14.3
      freetype2| C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      freetype2| C linker for the host machine: cc ld.lld 22.1.8
      freetype2| Program python3 found: YES
      freetype2| Has header "unistd.h" : YES (cached)
      freetype2| Has header "fcntl.h" : YES (cached)
      freetype2| Has header "sys/mman.h" : NO (cached)
      freetype2| Windows resource compiler: llvm-windres, compatible with GNU windres
      freetype2| Dependency bzip2 for host machine skipped: feature bzip2 disabled
      freetype2| Library bz2 skipped: feature bzip2 disabled
      freetype2| Dependency libpng for host machine skipped: feature png disabled
      freetype2| Dependency libbrotlidec for host machine skipped: feature brotli disabled
      freetype2| Did not find pkg-config by name 'pkg-config'
      freetype2| Found pkg-config: NO
      freetype2| Build targets in project: 6
      freetype2| Subproject freetype2 finished.
      
      
      Executing subproject harfbuzz
      
      harfbuzz| Project name: harfbuzz
      harfbuzz| Project version: 14.1.0
      harfbuzz| C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      harfbuzz| C linker for the host machine: cc ld.lld 22.1.8
      harfbuzz| C++ compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE c++ (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      harfbuzz| C++ linker for the host machine: c++ ld.lld 22.1.8
      harfbuzz| Fetching value of define "_MSC_FULL_VER" : (undefined) (cached)
      harfbuzz| Compiler for C++ supports link arguments -Bsymbolic-functions: YES (cached)
      harfbuzz| Compiler for C++ supports arguments -fno-exceptions: YES (cached)
      harfbuzz| Compiler for C++ supports arguments -fno-rtti: YES (cached)
      harfbuzz| Compiler for C++ supports arguments -fno-threadsafe-statics: YES (cached)
      harfbuzz| Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES (cached)
      harfbuzz| Compiler for C++ supports arguments -Wa,-mbig-obj: YES (cached)
      harfbuzz| Library m found: YES
      harfbuzz| Dependency freetype2 for host machine found: YES 26.6.20 (overridden)
      harfbuzz| Dependency glib-2.0 for host machine skipped: feature glib disabled
      harfbuzz| Dependency gobject-2.0 for host machine skipped: feature gobject disabled
      harfbuzz| Dependency graphite2 for host machine skipped: feature graphite2 disabled
      harfbuzz| Dependency graphite2 for host machine skipped: feature graphite disabled
      harfbuzz| Library iwasm skipped: feature wasm disabled
      harfbuzz| Dependency icu-uc for host machine skipped: feature icu disabled
      harfbuzz| Dependency chafa for host machine skipped: feature chafa disabled
      harfbuzz| Dependency libpng for host machine skipped: feature png disabled
      harfbuzz| Dependency zlib for host machine skipped: feature zlib disabled
      harfbuzz| Has header "unistd.h" : YES (cached)
      harfbuzz| Has header "sys/mman.h" : NO (cached)
      harfbuzz| Has header "stdbool.h" : YES (cached)
      harfbuzz| Has header "xlocale.h" : NO (cached)
      harfbuzz| Checking for function "atexit" : YES (cached)
      harfbuzz| Checking for function "mprotect" : NO (cached)
      harfbuzz| Checking for function "sysconf" : NO (cached)
      harfbuzz| Checking for function "getpagesize" : NO (cached)
      harfbuzz| Checking for function "mmap" : NO (cached)
      harfbuzz| Checking for function "isatty" : YES (cached)
      harfbuzz| Checking for function "uselocale" : NO (cached)
      harfbuzz| Checking for function "newlocale" : NO (cached)
      harfbuzz| Checking for function "localeconv_l" : NO (cached)
      harfbuzz| Checking for function "sincos" : YES (cached)
      harfbuzz| Checking for function "sincosf" : YES (cached)
      harfbuzz| Program gen-hb-version.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:\Users\שזדס\repos\matplotlib\subprojects\harfbuzz-14.1.0\src\gen-hb-version.py)
      harfbuzz| Configuring hb-version.h with command
      harfbuzz| Program ragel found: NO
      harfbuzz| Program gen-harfbuzzcc.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:\Users\שזדס\repos\matplotlib\subprojects\harfbuzz-14.1.0\src\gen-harfbuzzcc.py)
      harfbuzz| Configuring hb-features.h using configuration
      harfbuzz| Configuring hb-supported-features.h using configuration
      harfbuzz| Program gen-def.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:\Users\שזדס\repos\matplotlib\subprojects\harfbuzz-14.1.0\src\gen-def.py)
      harfbuzz| Program gen-gpu-shader-artifacts.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:\Users\שזדס\repos\matplotlib\subprojects\harfbuzz-14.1.0\src\gen-gpu-shader-artifacts.py)
      harfbuzz| Configuring harfbuzz-config.cmake using configuration
      harfbuzz| Program gen-harfbuzz-world.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:\Users\שזדס\repos\matplotlib\subprojects\harfbuzz-14.1.0\src\gen-harfbuzz-world.py)
      harfbuzz| Configuring config.h using configuration
      harfbuzz| Build targets in project: 20
      harfbuzz| Subproject harfbuzz finished.
      
      
      Executing subproject sheenbidi
      
      sheenbidi| Project name: SheenBidi
      sheenbidi| Project version: 3.0.0
      sheenbidi| C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      sheenbidi| C linker for the host machine: cc ld.lld 22.1.8
      sheenbidi| C++ compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE c++ (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      sheenbidi| C++ linker for the host machine: c++ ld.lld 22.1.8
      sheenbidi| Build targets in project: 21
      sheenbidi| Subproject sheenbidi finished.
      
      
      Executing subproject libraqm
      
      libraqm| Project name: raqm
      libraqm| Project version: 0.10.5
      libraqm| C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      libraqm| C linker for the host machine: cc ld.lld 22.1.8
      libraqm| Dependency freetype2 for host machine found: YES 26.6.20 (overridden)
      libraqm| Dependency harfbuzz for host machine found: YES 14.1.0 (overridden)
      libraqm| Dependency sheenbidi for host machine from subproject subprojects/SheenBidi-3.0.0 found: YES 3.0.0
      libraqm| Configuring config.h using configuration
      libraqm| Configuring raqm-version.h using configuration
      libraqm| Build targets in project: 23
      libraqm| Subproject libraqm finished.
      
      
      Executing subproject qhull
      
      qhull| Project name: qhull
      qhull| Project version: 8.0.2
      qhull| C compiler for the host machine: C:\Users\שזדס\scoop\shims\ccache.EXE cc (clang 22.1.8 "clang version 22.1.8 (https://github.com/llvm/llvm-project.git ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)")
      qhull| C linker for the host machine: cc ld.lld 22.1.8
      qhull| Build targets in project: 24
      qhull| Subproject qhull finished.
      
      Run-time dependency dl found: NO  (tried builtin and system)
      Library comctl32 found: YES
      Library ole32 found: YES
      Library psapi found: YES
      Library shell32 found: YES
      Library user32 found: YES
      Configuring _version.py using configuration
      Program C:/Users/שזדס/repos/matplotlib/tools/generate_matplotlibrc.py found: YES (C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe C:/Users/שזדס/repos/matplotlib/tools/generate_matplotlibrc.py)
      Build targets in project: 33
      
      freetype2 2.14.3
      
        Operating System
          OS      : windows
      
        Used Libraries
          Zlib    : internal
          Bzip2   : NO
          Png     : NO
          HarfBuzz: YES
          Brotli  : NO
      
      harfbuzz 14.1.0
      
        Directories
          prefix                    : c:/
          bindir                    : bin
          libdir                    : lib
          includedir                : include
          datadir                   : share
          cmakepackagedir           : lib/cmake
      
        Unicode callbacks (you want at least one)
          Builtin                   : YES
          Glib                      : NO
          ICU                       : NO
      
        Font callbacks (the more the merrier)
          Builtin                   : YES
          FreeType                  : YES
          Fontations                : NO
      
        Additional shapers
          Graphite2                 : NO
          WebAssembly (experimental): NO
      
        Platform / other shapers (not normally needed)
          CoreText                  : NO
          DirectWrite               : NO
          GDI/Uniscribe             : NO
          HarfRust                  : NO
          kbts                      : NO
      
        Additional libraries
          Subset                    : NO
          Raster (experimental)     : NO
          Vector (experimental)     : NO
          GPU (experimental)        : NO
      
        Dependencies used by additional libraries
          PNG                       : NO
          Zlib                      : NO
      
        Other features
          Utilities                 : NO
          Documentation             : NO
          GObject bindings          : NO
          Cairo integration         : NO
          Introspection             : NO
          Experimental APIs         : NO
      
        Dependencies used by command-line utilities
          Cairo                     : NO
          Chafa                     : NO
      
        Testing
          Tests                     : NO
          Benchmark                 : NO
      
      matplotlib 0.1.0.dev54955+unknown.g01dcacc1d.d20260726
      
        Subprojects
          freetype2   : YES
          harfbuzz    : YES
          libraqm     : YES
          qhull       : YES
          sheenbidi   : YES
      
        User defined options
          Native files: C:\Users\שזדס\repos\matplotlib\build\cp315t\meson-python-native-file.ini
          b_ndebug    : if-release
          b_vscrt     : md
          buildtype   : release
      
      Found ninja.EXE-1.13.2 at C:\Users\שזדס\scoop\shims\ninja.EXE
      + meson compile
      [1/20] Compiling C++ object src/_qhull.cp315t-win_amd64.pyd.p/_qhull_wrapper.cpp.obj
      FAILED: [code=1] src/_qhull.cp315t-win_amd64.pyd.p/_qhull_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_qhull.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\subprojects\qhull-8.0.2\src" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" "-DMPL_DEVNULL=nul" -MD -MQ src/_qhull.cp315t-win_amd64.pyd.p/_qhull_wrapper.cpp.obj -MF "src\_qhull.cp315t-win_amd64.pyd.p\_qhull_wrapper.cpp.obj.d" -o src/_qhull.cp315t-win_amd64.pyd.p/_qhull_wrapper.cpp.obj "-c" ../../src/_qhull_wrapper.cpp
      ../../src/_qhull_wrapper.cpp:8:10: fatal error: 'pybind11/pybind11.h' file not found
          8 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [2/20] Compiling C++ object src/_tri.cp315t-win_amd64.pyd.p/tri__tri_wrapper.cpp.obj
      FAILED: [code=1] src/_tri.cp315t-win_amd64.pyd.p/tri__tri_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_tri.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_tri.cp315t-win_amd64.pyd.p/tri__tri_wrapper.cpp.obj -MF "src\_tri.cp315t-win_amd64.pyd.p\tri__tri_wrapper.cpp.obj.d" -o src/_tri.cp315t-win_amd64.pyd.p/tri__tri_wrapper.cpp.obj "-c" ../../src/tri/_tri_wrapper.cpp
      In file included from ../../src/tri/_tri_wrapper.cpp:1:
      ../../src/tri/_tri.h:66:10: fatal error: 'pybind11/pybind11.h' file not found
         66 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [3/20] Compiling C++ object src/ft2font.cp315t-win_amd64.pyd.p/ft2font_wrapper.cpp.obj
      FAILED: [code=1] src/ft2font.cp315t-win_amd64.pyd.p/ft2font_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\ft2font.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\subprojects\freetype-2.14.3\include" "-Isubprojects\libraqm-0.10.5\src" "-I..\..\subprojects\libraqm-0.10.5\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" "-DFREETYPE_BUILD_TYPE=\"local\"" -MD -MQ src/ft2font.cp315t-win_amd64.pyd.p/ft2font_wrapper.cpp.obj -MF "src\ft2font.cp315t-win_amd64.pyd.p\ft2font_wrapper.cpp.obj.d" -o src/ft2font.cp315t-win_amd64.pyd.p/ft2font_wrapper.cpp.obj "-c" ../../src/ft2font_wrapper.cpp
      ../../src/ft2font_wrapper.cpp:3:10: fatal error: 'pybind11/pybind11.h' file not found
          3 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [4/20] Compiling C++ object src/_image.cp315t-win_amd64.pyd.p/py_converters.cpp.obj
      FAILED: [code=1] src/_image.cp315t-win_amd64.pyd.p/py_converters.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_image.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_image.cp315t-win_amd64.pyd.p/py_converters.cpp.obj -MF "src\_image.cp315t-win_amd64.pyd.p\py_converters.cpp.obj.d" -o src/_image.cp315t-win_amd64.pyd.p/py_converters.cpp.obj "-c" ../../src/py_converters.cpp
      In file included from ../../src/py_converters.cpp:1:
      ../../src/py_converters.h:12:10: fatal error: 'pybind11/pybind11.h' file not found
         12 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [5/20] Compiling C++ object src/_image.cp315t-win_amd64.pyd.p/_image_wrapper.cpp.obj
      FAILED: [code=1] src/_image.cp315t-win_amd64.pyd.p/_image_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_image.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_image.cp315t-win_amd64.pyd.p/_image_wrapper.cpp.obj -MF "src\_image.cp315t-win_amd64.pyd.p\_image_wrapper.cpp.obj.d" -o src/_image.cp315t-win_amd64.pyd.p/_image_wrapper.cpp.obj "-c" ../../src/_image_wrapper.cpp
      ../../src/_image_wrapper.cpp:1:10: fatal error: 'pybind11/pybind11.h' file not found
          1 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [6/20] Compiling C++ object src/_path.cp315t-win_amd64.pyd.p/_path_wrapper.cpp.obj
      FAILED: [code=1] src/_path.cp315t-win_amd64.pyd.p/_path_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_path.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_path.cp315t-win_amd64.pyd.p/_path_wrapper.cpp.obj -MF "src\_path.cp315t-win_amd64.pyd.p\_path_wrapper.cpp.obj.d" -o src/_path.cp315t-win_amd64.pyd.p/_path_wrapper.cpp.obj "-c" ../../src/_path_wrapper.cpp
      ../../src/_path_wrapper.cpp:1:10: fatal error: 'pybind11/pybind11.h' file not found
          1 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [7/20] Compiling C++ object src/_c_internal_utils.cp315t-win_amd64.pyd.p/_c_internal_utils.cpp.obj
      FAILED: [code=1] src/_c_internal_utils.cp315t-win_amd64.pyd.p/_c_internal_utils.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_c_internal_utils.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_c_internal_utils.cp315t-win_amd64.pyd.p/_c_internal_utils.cpp.obj -MF "src\_c_internal_utils.cp315t-win_amd64.pyd.p\_c_internal_utils.cpp.obj.d" -o src/_c_internal_utils.cp315t-win_amd64.pyd.p/_c_internal_utils.cpp.obj "-c" ../../src/_c_internal_utils.cpp
      ../../src/_c_internal_utils.cpp:19:10: fatal error: 'pybind11/pybind11.h' file not found
         19 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [8/20] Compiling C++ object src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg.cpp.obj
      FAILED: [code=1] src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_backend_agg.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg.cpp.obj -MF "src\_backend_agg.cp315t-win_amd64.pyd.p\_backend_agg.cpp.obj.d" -o src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg.cpp.obj "-c" ../../src/_backend_agg.cpp
      In file included from ../../src/_backend_agg.cpp:6:
      ../../src/_backend_agg.h:9:10: fatal error: 'pybind11/pybind11.h' file not found
          9 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [9/20] Compiling C++ object src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg_wrapper.cpp.obj
      FAILED: [code=1] src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg_wrapper.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_backend_agg.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg_wrapper.cpp.obj -MF "src\_backend_agg.cp315t-win_amd64.pyd.p\_backend_agg_wrapper.cpp.obj.d" -o src/_backend_agg.cp315t-win_amd64.pyd.p/_backend_agg_wrapper.cpp.obj "-c" ../../src/_backend_agg_wrapper.cpp
      ../../src/_backend_agg_wrapper.cpp:1:10: fatal error: 'pybind11/pybind11.h' file not found
          1 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [10/20] Compiling C++ object src/ft2font.cp315t-win_amd64.pyd.p/ft2font.cpp.obj
      FAILED: [code=1] src/ft2font.cp315t-win_amd64.pyd.p/ft2font.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\ft2font.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\subprojects\freetype-2.14.3\include" "-Isubprojects\libraqm-0.10.5\src" "-I..\..\subprojects\libraqm-0.10.5\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" "-DFREETYPE_BUILD_TYPE=\"local\"" -MD -MQ src/ft2font.cp315t-win_amd64.pyd.p/ft2font.cpp.obj -MF "src\ft2font.cp315t-win_amd64.pyd.p\ft2font.cpp.obj.d" -o src/ft2font.cp315t-win_amd64.pyd.p/ft2font.cpp.obj "-c" ../../src/ft2font.cpp
      In file included from ../../src/ft2font.cpp:3:
      ../../src/ft2font.h:9:10: fatal error: 'pybind11/pybind11.h' file not found
          9 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [11/20] Compiling C++ object src/_tri.cp315t-win_amd64.pyd.p/tri__tri.cpp.obj
      FAILED: [code=1] src/_tri.cp315t-win_amd64.pyd.p/tri__tri.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_tri.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_tri.cp315t-win_amd64.pyd.p/tri__tri.cpp.obj -MF "src\_tri.cp315t-win_amd64.pyd.p\tri__tri.cpp.obj.d" -o src/_tri.cp315t-win_amd64.pyd.p/tri__tri.cpp.obj "-c" ../../src/tri/_tri.cpp
      In file included from ../../src/tri/_tri.cpp:6:
      ../../src/tri/../mplutils.h:54:10: fatal error: 'pybind11/pybind11.h' file not found
         54 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      [12/20] Compiling C++ object src/_tkagg.cp315t-win_amd64.pyd.p/_tkagg.cpp.obj
      FAILED: [code=1] src/_tkagg.cp315t-win_amd64.pyd.p/_tkagg.cpp.obj
      "C:\Users\שזדס\scoop\shims\ccache.EXE" "c++" "-Isrc\_tkagg.cp315t-win_amd64.pyd.p" "-Isrc" "-I..\..\src" "-I..\..\extern\agg24-svn\include" "-IC:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\Include" "-IC:\Users\שזדס\AppData\Local\Temp\pip-build-env-n3moq8fy\overlay\Lib\site-packages\pybind11\include" "-fvisibility=hidden" "-fvisibility-inlines-hidden" "-flto" "-fdiagnostics-color=always" "-DNDEBUG" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-std=c++17" "-O3" "-DMPL_FIX_AGG_IMAGE_FILTER_LUT_BUGS" "-DMPL_FIX_AGG_INTERPOLATION_ENDPOINT_BUG" "-DPy_GIL_DISABLED" -MD -MQ src/_tkagg.cp315t-win_amd64.pyd.p/_tkagg.cpp.obj -MF "src\_tkagg.cp315t-win_amd64.pyd.p\_tkagg.cpp.obj.d" -o src/_tkagg.cp315t-win_amd64.pyd.p/_tkagg.cpp.obj "-c" ../../src/_tkagg.cpp
      ../../src/_tkagg.cpp:32:10: fatal error: 'pybind11/pybind11.h' file not found
         32 | #include <pybind11/pybind11.h>
            |          ^~~~~~~~~~~~~~~~~~~~~
      1 error generated.
      ninja: build stopped: subcommand failed.
      INFO: autodetecting backend as ninja
      INFO: calculating backend command to run: C:\Users\שזדס\scoop\shims\ninja.EXE
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> from file:///C:/Users/%D7%A9%D7%96%D7%93%D7%A1/repos/matplotlib

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Expected outcome

Successful compilation

Additional information

No response

Operating system

No response

Matplotlib Version

Main

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions