https://pantsbuild.org/ logo
#general
Title
# general
f

freezing-area-97131

04/15/2022, 12:46 PM
Hi, I was running
./pants test …
and got this error:
Copy code
ProcessExecutionFailure: Process 'Building requirements.pex with 23 requirements: ...
How do I fix this? I will put the full log in thread.
pants.log
h

happy-kitchen-89482

04/15/2022, 2:05 PM
This is an error building the sdist for PyYAML 3.13
ext/_yaml.c:4:20: fatal error: Python.h: No such file or directory
You have to make sure the python headers are available on your system (see https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory) and that Pants can see them (see https://www.pantsbuild.org/docs/reference-python-native-code)
f

freezing-area-97131

04/15/2022, 3:45 PM
Thx!