Coder Social home page Coder Social logo

Comments (6)

maartenbreddels avatar maartenbreddels commented on May 25, 2024

from ipyvolume.

ternarysrche avatar ternarysrche commented on May 25, 2024

Thanks for the quick response! I have installed pythreejs, and after running jupyter nbextension list, it shows the following:

Known nbextensions:
  config dir: /Users/christopher/.jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
  config dir: /Users/christopher/opt/anaconda3/etc/jupyter/nbconfig
    notebook section
      bqplot/extension  enabled 
      - Validating: OK
      jupyter-datawidgets/extension  enabled 
      - Validating: OK
      jupyter-threejs/extension  enabled 
      - Validating: OK
      nbextensions_configurator/config_menu/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
    tree section
      nbextensions_configurator/tree_tab/main  enabled 
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

However, pythreejs does not seem to work either. After I run the Geometry Examples on pythreejs's documentation page, it also displays nothing
Screenshot 2023-01-02 at 11 43 20 AM
The terminal again outputs:

[W 11:45:44.969 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20230102112604 (::1) 5.940000ms referer=http://localhost:8888/notebooks/Documents/sttp/Untitled1.ipynb
[W 11:45:45.278 NotebookApp] 404 GET /static/jupyter-threejs.js?v=20230102112604 (::1) 2.220000ms referer=http://localhost:8888/notebooks/Documents/sttp/Untitled1.ipynb

I have tried searching for a solution to this issue, but to no avail.

from ipyvolume.

ternarysrche avatar ternarysrche commented on May 25, 2024

A quick update, I installed node using Homebrew, and updated all relevant libraries using pip. Now, I get
Screenshot 2023-01-02 at 1 46 44 PM
With the error being:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load model class 'PreviewModel' from module 'jupyter-threejs'
Error: Script error for "jupyter-threejs"
http://requirejs.org/docs/errors.html#scripterror
    at makeError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:168:17)
    at HTMLScriptElement.onScriptError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735:36)

The console error message is
Screenshot 2023-01-02 at 1 49 28 PM

from ipyvolume.

lmx492274842 avatar lmx492274842 commented on May 25, 2024

same error , No picture to show

from ipyvolume.

lmx492274842 avatar lmx492274842 commented on May 25, 2024

same error , No picture to show

image

from ipyvolume.

maartenbreddels avatar maartenbreddels commented on May 25, 2024

With pythreejs 2.4.1 it seems to work now.

from ipyvolume.

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.