728x90
반응형
ERROR: Failed building wheel for krb5 gssapi/raw/misc.c:55:10: fatal error: Python.h: No such file or directory 55 | #include "Python.h" | ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-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 gssapi Building wheel for krb5 (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for krb5 (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [85 lines of output] Using krb5-config at 'krb5-config' .... src/krb5/_ccache.c:53:10: fatal error: Python.h: No such file or directory 53 | #include "Python.h" | ^~~~~~~~~~ compilation terminated. error: command '/usr/bin/x86_64-linux-gnu-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 krb5 Failed to build gssapi krb5 ERROR: Could not build wheels for gssapi, krb5, which is required to install pyproject.toml-based projects |
해결방법
sudo apt-get install python3-dev |
728x90
반응형