I cannot run these instructions:
- OK:
git clone https://github.com/johnomernik/qgrid - OK:
cd qgrid - OK:
python setup.py install NOPE OK: pip install qgrid2-1.1.3-py3-none-any.whl
The problem is that python setup.py install does not (and couldn't ever) build any wheel package,
but creates a dist/qgrid-1.3.1-py3.10.egg "link" file.
If i try to build a wheel out of this repo:
python setup.py bdist_wheel
...i get a dist/qgrid-1.3.1-py2.py3-none-any.whl file, but not qgrid2-... that is given in the instructions.
And if i install this wheel, the following notebook-cell fails to render a grid:
importpandasaspdimportnumpyasnpimportqgriddf=pd.DataFrame(np.random.rand(200, 30), columns=[str(i) foriinrange(30)])
qgrid.show_grid(df)
...rendering instead this error output:

...which when i click it, it reveals:
[OpenBrowserConsoleformoredetailedlog-Doubleclicktoclosethismessage]Failedtoloadmodelclass'QgridModel'frommodule'qgrid'
Error: Noversionofmoduleqgridisregisteredatf.loadClass(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:74856)atf.loadModelClass(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:10729)atf._make_model(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:7517)atf.new_model(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:5137)atf.handle_comm_open(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:3894)at_handleCommOpen(http://localhost:8888/lab/extensions/@jupyter-widgets/jupyterlab-manager/static/134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:73393)atb._handleCommOpen(http://localhost:8888/static/lab/jlab_core.3e11c5239452d671150c.js?v=3e11c5239452d671150c:2:1037311)atasyncb._handleMessage(http://localhost:8888/static/lab/jlab_core.3e11c5239452d671150c.js?v=3e11c5239452d671150c:2:1039301)
...and the browser-console is this:
150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1Failedtofetchipywidgetsthroughthe"jupyter.widget.control"commchannel,fallbacktofetchingindividualmodelstate.Reason: Controlcommwasclosedtooearly_loadFromKernel @ 150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:13134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1 Error: widgetmodelnotfoundatf.get_model(150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:3461)atw.renderModel(134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:72019)renderModel @ 134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1 Error: Noversionofmoduleqgridisregisteredatf.loadClass(134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:74856)atf.loadModelClass(150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:10729)atf._make_model(150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:7517)atf.new_model(150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:5137)atf.handle_comm_open(150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1:3894)at_handleCommOpen(134.40eaa5b8e976096d50b2.js?v=40eaa5b8e976096d50b2:1:73393)atb._handleCommOpen(default.js:1095:19)atasyncb._handleMessage(default.js:1262:43)loadModelClass @ 150.b0e841b75317744a7595.js?v=b0e841b75317744a7595:1
DevTools failedtoloadsourcemap: Couldnotloadcontentforchrome-extension://cfhdojbkjhnklbpkdaibdccddilifddb/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failedtoloadsourcemap: Couldnotloadcontentforchrome-extension://pgjjikdiikihdfpoppgaidccahalehjh/webspeed.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
What am i missing?
I cannot run these instructions:
git clone https://github.com/johnomernik/qgridcd qgridpython setup.py installNOPEOK:pip install qgrid2-1.1.3-py3-none-any.whlThe problem is thatpython setup.py installdoes not (and couldn't ever) build any wheel package,but creates a
dist/qgrid-1.3.1-py3.10.egg"link" file.If i try to build a wheel out of this repo:
...i get a
dist/qgrid-1.3.1-py2.py3-none-any.whlfile, but notqgrid2-...that is given in the instructions.And if i install this wheel, the following notebook-cell fails to render a grid:
...rendering instead this error output:

...which when i click it, it reveals:
...and the browser-console is this:
What am i missing?