'How to download mwilliamson jq.py on Windows

I have spent more than a week trying to figure out how to install the python binding for JQ https://github.com/mwilliamson/jq.py on my computer but I keep getting this error

Executing: ./configure CFLAGS=-fPIC --prefix=C:\cygwin64\tmp\pip-install-v9ec9n9_\jq_7100d98
9ec2f403c8a7cae32d2f83862\_deps\onig-install-6.9.4
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for jq
Failed to build jq
ERROR: Could not build wheels for jq, which is required to install pyproject.toml-based projects

I understand that these bindings/module was not created for windows systems so that is likely why it can't create the bindings but I did see this from the project readme

If a wheel is not available, the source for jq 1.6 is downloaded over HTTPS and built. This requires:

Autoreconf The normal C compiler toolchain, such as gcc and make. libtool Python headers.

I have downloaded cygwin to attempt to donwload it through there but since the beforementioned quote is pretty vague in directions, I was wondering how to do this specifically on Windows.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source