Giter VIP home page Giter VIP logo

Comments (4)

michaelnchin avatar michaelnchin commented on June 3, 2024 1

Hi @twiechert-exiger , thank you for the additional data point.

I've recently seen a few other similar reports of the graph_notebook_widgets notebook/lab extension failing to install only on M1/M2 Macs, so this seems to be a platform-specific issue (though I'm not 100% sure as I don't have an ARM Mac to test).

At the moment, our binary distributions on PyPi are built only for x86_64, so I would consider graph-notebook unsupported on ARM64 for now. We'll look into providing separate binaries for multi-platform support in the future, along with multi-platform images as mentioned here: #509.

from graph-notebook.

michaelnchin avatar michaelnchin commented on June 3, 2024

Hi @ahutter , thanks for submitting a bug report!

I unsuccessfully tried reproducing this, using the same general setup and package versions, as well as:

  • Browser: Chrome v116.0.5845.187 x86_64
  • Python version: 3.10.11

To fish for some possible root causes, could you answer the following:

  1. Is your Mac computer Intel or Apple silicon based?
  2. What Python version are you running?
  3. What is the output of running !jupyter labextension list in a notebook cell?
  4. Was graph-notebook installed onto a clean Python environment (with only JupyterLab3 + dependencies installed)? If no, can you provide the pip list of other dependencies installed in the env?
  5. If there are other packages also running in the env, do any of them also install Jupyter widgets/extensions?
  6. Was graph-notebook installed and launched via the run documentation for JupyterLab? If no, what was the alternative/modified process used?
  7. If you try running the same widget via Jupyter Classic Notebook (with the extra installation steps), does the graph tab visualization render correctly?

from graph-notebook.

twiechert-exiger avatar twiechert-exiger commented on June 3, 2024

Hi @michaelnchin, I am experiencing similar issues and have been unable to get the graph widget to work after multiple installation attempts. Regarding your list above:

  1. Apple silicon
  2. 3.9.18
  3. JupyterLab v3.6.6
  4. Yes, I removed all python packages and followed the graph-notebook install instructions for jupyterlab for this repo.
  5. I tried some things but not of them work. They have since been deleted.
  6. Yes.
  7. No.

What do you recommend?

from graph-notebook.

twiechert-exiger avatar twiechert-exiger commented on June 3, 2024

Getting the following now in my browser console:

Could not instantiate widget

and

Error: Module graph_notebook_widgets, semver range 3.9.0 is not registered as a widget module

This is with the current setup:

!jupyter labextension list

JupyterLab v3.6.6
Other labextensions (built into JupyterLab)
   app dir: ~/homebrew/Cellar/[email protected]/3.9.18/Frameworks/Python.framework/Versions/3.9/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v3.1.7 enabled OK
        jupyter-leaflet v0.17.3 enabled OK

from graph-notebook.

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.