Install & Compatibility
Where this runs
tested against v0.0.2376 · 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 0.000s · 19.7MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
nbdev_scipy
✓ import nbdev_scipy
Import the module to register the doc lookup; no need to use any specific function.
DocLookup
✓
✗ from nbdev_scipy import DocLookup
DocLookup is not directly imported; nbdev-scipy registers itself via nbdev's doc lookup system.
After importing nbdev_scipy, nbdev's show_doc will resolve scipy symbols to their official docs.
import nbdev_scipy
# Now in a notebook cell, use nbdev's show_doc with a scipy function:
from nbdev.showdoc import show_doc
from scipy.stats import norm
show_doc(norm.pdf)
nbdev_scipy --version
Debug
Known issues
gotchanbdev-scipy requires nbdev's doc lookup infrastructure. Without nbdev installed, the import does nothing and no docs are shown.fixEnsure nbdev is installed: pip install nbdev
affects: all
gotchaThe index is prebuilt and may lag behind new scipy releases. Some new functions may not yet have documentation links.fixCheck the index source at https://github.com/fastai/nbdev-index/tree/master/ to see if the symbol is included.
affects: all
deprecatednbdev-scipy is not actively maintained by the fastai team; the package maintainer has not released updates in months. The index may be incomplete or outdated.fixConsider using nbdev's built-in doc lookup with scipy; it may already work without nbdev-scipy in newer nbdev versions.
affects: 0.0.2376 and earlier
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'nbdev_scipy'
nbdev-scipy not installed.
fixRun: pip install nbdev-scipy
AttributeError: module 'nbdev.showdoc' has no attribute 'show_doc'
nbdev version too old; show_doc was renamed or moved.
fixUpdate nbdev: pip install --upgrade nbdev
KeyError: 'scipy.special.gammainc'
The symbol is not in the nbdev-scipy index.
fixSubmit a PR to add the symbol to the index at https://github.com/fastai/nbdev-index.
Upgrade
Version history
0.0.2376latest on PyPI · released Feb 9, 2026
Audit
Dependencies
nbdevrequirednbdev-scipy is an extension for nbdev; required for doc lookup to work.
scipyoptionalNeeds to be installed to have scipy symbols available; not a runtime dependency.