Kanaries / pygwalker

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

Click to show javascript error. #487

Open Eatenn opened 4 months ago

Eatenn commented 4 months ago

Click to show javascript error.

longxiaofei commented 4 months ago

@Eatenn

Thanks for your feedback, can you provide some details?

operation steps, pygwalker version, browser version, error screenshot?

oncodocjia commented 2 months ago

Hi xiaofei, I have the same problem with Click to show javascript error when I was running the code "df = pd.read_csv('./bike_sharing_dc.csv') walker = pyg.walk(df)" and here is the detail: Failed to load model class 'BoxModel' from module '@jupyter-widgets/controls' Error: Module @jupyter-widgets/controls, version ^1.5.0 is not registered, however, 2.0.0 is at f.loadClass (http://localhost:8891/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.a6...

seems that the @jupyter-widgets/controls, version is inconsistent.

longxiaofei commented 2 months ago

Hi @oncodocjia

update version of jupyterlab or ipywidgets, try it:

pip install --upgrade jupyterlab

or

pip install --upgrade ipywidgets

oncodocjia commented 2 months ago

Hi @oncodocjia

update version of jupyterlab or ipywidgets, try it:

pip install --upgrade jupyterlab

or

pip install --upgrade ipywidgets

Hi @longxiaofei , Thank u so much! I solved the problem.