Closed sohamwaglekar closed 2 months ago
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
- name: Install Dependencies 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
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
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