Skip to content
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

Issues with pyjq 2.6.0 when installing on Windows #839

Closed
theagilepilot opened this issue Jul 24, 2024 Discussed in #837 · 3 comments
Closed

Issues with pyjq 2.6.0 when installing on Windows #839

theagilepilot opened this issue Jul 24, 2024 Discussed in #837 · 3 comments

Comments

@theagilepilot
Copy link

Discussed in #837

Originally posted by nicholasamato July 23, 2024
I've been getting issues attempting to install ocean framework with a regular pip install and also with poetry.

The error always results when the install reachespyjq. I get the following error with poetry:

error: [WinError 2] The system cannot find the file specified

at ~\pipx\venvs\poetry\Lib\site-packages\poetry\installation\chef.py:164 in _prepare
160│
161│ error = ChefBuildError("\n\n".join(message_parts))
162│
163│ if error is not None:
→ 164│ raise error from None
165│
166│ return path
167│
168│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyjq (2.6.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyjq (==2.6.0)"'.

Does anyone have a solution? (Im using python 3.11.9)

@yairsimantov20
Copy link
Collaborator

Can it be related to this issue? mwilliamson/jq.py#20

@mwilliamson
Copy link

Hello! I'm the maintainer of jq.py. I just wanted to add that the original report was about pyjq, whereas the issue you've linked to is for jq.py, which is a separate project. In case it's of any help, jq.py has tentative support for Windows: specifically, there are currently wheels in a prerelease version, and, barring finding any issues, they should be included in the next version.

@Tankilevitch
Copy link
Contributor

Hey @theagilepilot 👋
We just replaced our jq package from pyjq to jq.py this should come with more native windows support.

Please let me know if it now works for you, closing for now feel free to re-open the issue.

Thank you @mwilliamson for jumping here 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants