Install & Compatibility
Where this runs
tested against v0.14.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 2.182s · 177.3MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.9s · import 2.088s · 174MB
171MB installed
● package 171MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Canvas
✓ from ipycanvas import Canvas
✗ from ipycanvas.widgets import Canvas
Canvas is exposed at top-level, not in submodule
MultiCanvas
✓ from ipycanvas import MultiCanvas
No common wrong import known
Create a canvas, set fill style, draw a rectangle, and display.
from ipycanvas import Canvas
canvas = Canvas(width=200, height=200)
canvas.fill_style = 'blue'
canvas.fill_rect(20, 20, 100, 100)
canvas
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'ipycanvas'
ipycanvas is not installed.
fixRun `pip install ipycanvas` or `conda install -c conda-forge ipycanvas`.
ipycanvas is not displayed in Jupyter notebook
The ipywidgets extension may not be enabled or the notebook needs a restart.
fixRun `jupyter nbextension enable --py widgetsnbextension` or restart the kernel.
Upgrade
Version history
0.14.3latest on PyPI · released Dec 11, 2025
Audit
Dependencies
ipywidgetsrequiredRequired for widget communication with Jupyter
numpyoptionalUsed for image data and array operations