IBM / detect-secrets

An enterprise friendly way of detecting and preventing secrets in code.
Apache License 2.0
73 stars 45 forks source link

[BUG] Missing Header file ffi.h #152

Open hydernaqvi opened 3 months ago

hydernaqvi commented 3 months ago

Describe the bug I tried to create a virtual environment to share, but I could not get it to compile.

To Reproduce Steps to reproduce the behavior:

  1. Go on z/OS
  2. python -m venv ds
  3. cd ds
  4. . bin/activate
  5. alias pip="pip3"
  6. pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets"

Expected behavior Installation finished with no issues

Screenshots If applicable, add screenshots to help explain your problem. error-detect-secret

Impact

Yes

Trying to set this up for all users on our system using a virtual environment.

include ffi.h

Additional context:

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.