Giter VIP home page Giter VIP logo

Comments (12)

huyuhuster avatar huyuhuster commented on July 18, 2024 2

I install it by:
conda install -c eshard qgrid

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

Interesting that it works with ipywidget-8, PitterPatterPython/qgrid#9 managed to run for pre-8 widgets, what did you change?

from qgrid.

skapin avatar skapin commented on July 18, 2024
  • Reworked the plugin using cookie cutter
  • copy/paste src code
  • follow migration guide about migrating to ipywidget8 (changer js and py files mainly)

from qgrid.

huyuhuster avatar huyuhuster commented on July 18, 2024

Does it work with Voila too?

from qgrid.

skapin avatar skapin commented on July 18, 2024

Didnt test but perhpase I guess ?

from qgrid.

huyuhuster avatar huyuhuster commented on July 18, 2024

When I try to use qgrid with Voila, I get some error like this:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'QgridModel' from module 'qgrid'
Error: Script error for "qgrid"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (http://202.122.32.111:8060/voila/static/require.min.js:1:1067)
    at HTMLScriptElement.onScriptError (http://202.122.32.111:8060/voila/static/require.min.js:1:13218)

The version I used:
jupyter 1.0.0
jupyter_client 7.3.4
jupyter_core 5.2.0
jupyter-server 1.23.4
jupyterlab 3.5.3
jupyterlab-server 2.10.3
jupyterlab-widgets 3.0.5
ipywidgets 8.0.4
voila 0.4.0

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

How did you install it?
If you followed Omnerik's instructions, it won't work with ipywidgets >= 8.

from qgrid.

skapin avatar skapin commented on July 18, 2024

Ok so it doesnt work with voila :/
With your output I have no clue like that :/

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

Can you try to downgrade pip install "ipywidgets<8'?

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

I compared the py sources between Omerik's version which is ipywidget-8+ incompatible (see above) and @skapin 's conda package, and i see no significant difference - i guess it is ALSO ipywidget-8+ incompatible :-(

from qgrid.

skapin avatar skapin commented on July 18, 2024

i works with pywidget8, but doenst works with voila,it's a different issue

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

Can you please paste here your output for this command (or conda list if on conda)?

pip list | grep -iE "jupy|ipython|note|qgrid|ipy|js"

from qgrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.