Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
11.13k stars 579 forks source link

[BUG] ERROR: Failed building wheel for duckdb #400

Closed jshuadvd closed 6 months ago

jshuadvd commented 8 months ago

Describe the bug When attempting to install via pip install pygwalker I receive the following errors:

ERROR: Failed building wheel for duckdb ERROR: Could not build wheels for duckdb, which is required to install pyproject.toml-based projects

To Reproduce Steps to reproduce the behavior:

  1. Run pip install pygwalker
  2. See error

Expected behavior The library should install without issue.

Screenshots

Screenshot 2024-01-19 at 8 06 33 PM

Versions

longxiaofei commented 8 months ago

Currently, the latest released version of duckdb cannot run on python3.12.

You may need to use python3.11 to run Pygwalker(recommend).

Or you can also try to install the latest development version of duckdb: pip install duckdb==0.9.3.dev2938

jshuadvd commented 8 months ago

Thank you for the update.

I have tried the suggestion of using the latest development version of duckdb, but unfortunately that does not work: ERROR: pygwalker 0.4.2 requires duckdb==0.9.2, but you have duckdb 0.9.3.dev2938 which is incompatible.

I will try with Python 3.11 and report back.

anandakrishnankb commented 8 months ago

I had the same issue while installing pygwalker.I switched to python v3.9 and the issue was solved.

Marceau-h commented 6 months ago

Hi, I had the same issue, maybe you could change the requires-python tag, it would prevent even trying to install (saying no versions of the package mathces the current python version)

longxiaofei commented 6 months ago

pygwalker>=0.4.7 already support duckdb==0.10.0.

pygwalker currently supports running on python3.12

jshuadvd commented 6 months ago

This is now working for me @longxiaofei thank you for your help. I will close now :)