Open username9852 opened 11 months ago
That seems to be related to the switch to Notebooks v7, which relies on Jupyterlab under the hood. But the solutions given on the vpython site (install an additional package named jupyterlab_vpython) do not work either. I'm looking into it.
Looking at the vpython code, the error occurs just after a line that has been corrected in the repository, but the change has not yet been propagated to the pip repository: https://github.com/vpython/vpython-jupyter/commit/6acbfc759474e6ede98eab1f6659895957d214a6
The commit message says "Updated for Jupyter Notebook 7".
The solution seems to be, either wait for vpython to release this version (their last update, 7.6.4, was two years ago) or manually install the development version.
Thank you
Earlier this fall I could use vpython code to show animations on the ipad using carnets plus with scipy. This doesn't work anymore. It could be something I did or it could be related to the update end october. A simple example like
from vpython import* sphere()
works fine on my pc jupyter notebook, but causes a bunch of errors on carnets plus. I checked %pip list and vpython 7.6.4 is installed. If anyone knows a solution, I'd appreciate it.