-
Notifications
You must be signed in to change notification settings - Fork 483
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
[Bug] Building wheels failed in self hosted runner [windows] #3936
Comments
Solved |
Describe the Bug
I am encountering an issue with the pip install .[dev] command while running it on a self-hosted runner using Windows. The command fails during the wheel creation process for some packages, resulting in a subprocess-exited-with-error error.
The error output indicates that the process exits unexpectedly when attempting to build wheels for packages such as detection_rules. Despite following standard troubleshooting steps, such as upgrading pip, setuptools, and wheel, and ensuring all necessary build tools are installed, the issue persists.
Interestingly, the same pip install .[dev] command runs without any issues on an Ubuntu-based general runner provided by GitHub Actions. The installation completes successfully, and all packages are correctly installed with their dependencies.
To Reproduce
run: |
python -m pip install --upgrade pip
pip cache purge
pip install .[dev]
Expected Behavior
No response
Screenshots
Building wheels for collected packages: detection_rules
Building wheel for detection_rules (pyproject.toml): started
error: subprocess-exited-with-error
Building wheel for detection_rules (pyproject.toml) did not run successfully.
exit code: 1
Desktop - OS
Windows
Desktop - Version
10
Additional Context
No response
The text was updated successfully, but these errors were encountered: