VPython is a 3D programming environment for Python, enabling easy creation of navigable 3D animations and simulations. This version (7.6.5) is designed for Jupyter Notebook and requires Python >= 3.7. It uses WebGL for rendering in the browser. Release cadence is irregular, with updates focused on bug fixes and Jupyter compatibility.
pip install vpythonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a 3D scene with a red sphere. Must be run in a Jupyter Notebook; VPython renders inline.
Migrate to VPython 7 syntax: use 'vpython' module, 'canvas()', 'vector()', and avoid 'visual' module.
Install Jupyter and run code in a notebook cell. Use 'pip install jupyter' then 'jupyter notebook'.
Always run VPython 7 code inside a Jupyter notebook cell.