Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpython #321

Open
username9852 opened this issue Dec 8, 2023 · 3 comments
Open

vpython #321

username9852 opened this issue Dec 8, 2023 · 3 comments

Comments

@username9852
Copy link

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.

@holzschu
Copy link
Owner

holzschu commented Dec 8, 2023

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.

@holzschu
Copy link
Owner

holzschu commented Dec 8, 2023

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: vpython/vpython-jupyter@6acbfc7

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.

@username9852
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants