Jason K. Moore

Results 1409 comments of Jason K. Moore

I tried pip installing pythrees==2.3.0 and then I get this slightly different error in the Jupyter Notebook: ![image](https://user-images.githubusercontent.com/276007/227726539-8f1193d2-a08d-4be8-b1b9-f95c43a39165.png)

In the Jupyter Notebook the JS console gives this error (pythreejs==2.4.0, ipywidgets==8.0.1 pip installed): ``` Error: Script error for "jupyter-threejs" http://requirejs.org/docs/errors.html#scripterror makeError http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:168 onScriptError http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735 [manager-base.js:575:20](webpack://jupyter-widgets/packages/base-manager/lib/manager-base.js) Error: Script error for...

I pip installed the combo of dependency versions from https://github.com/jupyter-widgets/pythreejs/issues/395#issuecomment-1425765085, i.e. `python -m pip install ipywidgets==7.7.2 jupyterlab_widgets==1.1.1 pythreejs==2.3.0 widgetsnbextension==3.6.1` and using Jupyter Notebook this notebook (https://moorepants.github.io/learn-multibody-dynamics/_downloads/4070c9f3ae1e94b53a42a781baf0509b/visualization.ipynb) now functions.

I noticed that our example in the thebe docs no longer works (it was also built some time ago): https://thebe.readthedocs.io/en/stable/examples/pythreejs-example.html

In the pythreejs docs (https://pythreejs.readthedocs.io/en/latest/examples/Animation.html) the renderer loads and the animations work. The console shows: ``` Loading failed for the with source “https://pythreejs.readthedocs.io/en/latest/examples/jupyter-threejs.js”. [Animation.html:1:1](https://pythreejs.readthedocs.io/en/latest/examples/Animation.html) Falling back to https://cdn.jsdelivr.net/npm/ for jupyter-threejs@^2.1.0...

Are these enough clues to help me look further? I'm not that familiar with how the JS parts of this package might work, but I have an interested in getting...

In #389 they link to https://github.com/NVlabs/sionna/issues/106 which shows that a specific combinations of packages is needed to get 2.4.2 to work.

@bollwyvl might you have some insight on this issue? pythreejs is broken for me across all my websites and does not work in jupyter without very specific dependency pins.

I would also vote for moving most, if not all, latex into the "Notes" section of the docstrings. The main portion of the docstrings should be readable in ascii or...

This example uses the auxiliary speed functionality on the bicycle model: https://github.com/pydy/pydy/pull/462 Could be a quick way to ensure the aux speeds are still handled.