{"id":27888,"library":"jupyterlab-vpython","title":"jupyterlab-vpython","description":"A VPython extension for JupyterLab that enables 3D animations and simulations in notebooks. Current version is 3.1.8, released under the Jupyter ecosystem. Release cadence is irregular, with updates tied to JupyterLab version compatibility.","status":"active","version":"3.1.8","language":"python","source_language":"en","source_url":"https://github.com/jcoady/jupyterlab_vpython","tags":["jupyterlab","vpython","3d","extension","visualization"],"install":[{"cmd":"pip install jupyterlab-vpython","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Requires JupyterLab 3.x installed in the same environment","package":"jupyterlab","optional":false},{"reason":"Required for widget integration","package":"ipywidgets","optional":false},{"reason":"Used for vector operations","package":"numpy","optional":true}],"imports":[{"wrong":"from vpython import canvas","symbol":"canvas","correct":"from jupyterlab_vpython import canvas"}],"quickstart":{"code":"from vpython import canvas, sphere, vector\nscene = canvas(width=500, height=500)\nsphere(pos=vector(0,0,0), radius=0.5, color=vector(1,0,0))","lang":"python","description":"After installing jupyterlab-vpython, launch JupyterLab and run this code in a notebook to display a red sphere."},"warnings":[{"fix":"Ensure JupyterLab version is 3.x. Check compatibility before upgrading JupyterLab.","message":"Requires JupyterLab 3.x; does not work with JupyterLab 4.x. Extension must be rebuilt or updated for each JupyterLab version.","severity":"breaking","affected_versions":"all"},{"fix":"Run `jupyter lab build` after installing the extension, or install a prebuilt version if available.","message":"The extension must be built after installation (or prebuilt). If changes are made to the extension source, you need to rebuild. Missing rebuild results in 'Failed to fetch' or blank output.","severity":"gotcha","affected_versions":"all"},{"fix":"Consider using an alternative like pyodide or offline VPython, or run in a Python 3.9 environment.","message":"The package is no longer actively maintained and may not work with newer Python versions (>3.10) due to dependency issues.","severity":"deprecated","affected_versions":">=3.1.0"}],"env_vars":null,"search_vec":"'3.1.8':20 '3d':11,39 'anim':12 'cadenc':27 'compat':36 'current':17 'ecosystem':25 'enabl':10 'extens':6,40 'irregular':29 'jupyt':24 'jupyterlab':2,8,34,37 'jupyterlab-vpython':1 'notebook':16 'releas':21,26 'simul':14 'tie':32 'updat':31 'version':18,35 'visual':41 'vpython':3,5,38","created_at":"2026-05-09T05:52:37.000994+00:00","updated_at":"2026-05-09T05:52:37.000994+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'canvas' from 'jupyterlab_vpython' (/tmp/tmp5zlm9eke/venv/lib/python3.12/site-packages/jupyterlab_vpython/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/jcoady/jupyterlab_vpython","docs":null,"changelog":null,"pypi":"https://pypi.org/project/jupyterlab-vpython/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}