Python安装软件包报错 fatal error: Python.h: No such file or directory
Failed to import transformers.integrations.integration_utils because of the following error (look up to see its traceback):
Failed to import transformers.modeling_utils because of the following error (look up to see its traceback):
Command ‘[’/usr/bin/gcc’, ‘/tmp/tmpaaq80bo3/main.c’, ‘-O3’, ‘-shared’, ‘-fPIC’, ‘-Wno-psabi’, ‘-o’, ‘/tmp/tmpaaq80bo3/cuda_utils.cpython-313-x86_64-linux-gnu.so’, ‘-lcuda’, ‘-L/home/ZJQ/.local/lib/python3.13/site-packages/triton/backends/nvidia/lib’, ‘-L/lib/x86_64-linux-gnu’, ‘-L/lib/i386-linux-gnu’, ‘-I/home/ZJQ/.local/lib/python3.13/site-packages/triton/backends/nvidia/include’, ‘-I/tmp/tmpaaq80bo3’, ‘-I/us