New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build requirement with pip #839
Comments
Hello @paolostancato |
Hello @paolostancato, the gcc compiler is looking for the Python.h file in the directory specified by /opt/hostedtoolcache/Python/3.11.9/x64/include/python3.11, but the file is actually located in /home/runner/_work/_tool/Python/3.11.9/x64/include/python3.11. spec: |
Hello @paolostancato, Please confirm the above information resolved the issue. |
Hi @aparnajyothi-y , thanks for your prompt response, I'll close the issue because I couldn't reproduce it again |
Description:
(Possibly related to #824?)
Context: Runners are self hosted on kubernetes.
When installing packages with pip that require building, gcc is not able to find
Python.h
apparently because it's looking at the wrong path:Include directory is set to
while
Python.h
resides insetup-python.log
Action version:
actions/setup-python@v5' (SHA:82c7e631bb3cdc910f68e0081d67478d79c6982d)
Platform:
Runner type:
Tools version:
Repro steps:
The text was updated successfully, but these errors were encountered: