-
Notifications
You must be signed in to change notification settings - Fork 44
Troubleshooting
kirbs- edited this page Feb 17, 2020
·
4 revisions
pip install hide_code
jupyter nbextension install --py hide_code
jupyter nbextension enable --py hide_code
jupyter serverextension enable --py hide_code
pip install hide_code --upgrade
jupyter nbextension install --py hide_code
These errors are usually caused by hide_code's server extension not being loaded. Check Jupyter's console on start up. You should see:
[I 16:30:29.153 NotebookApp] hide_code: Attempting to load hid_code export handler extensions.
[I 16:30:29.154 NotebookApp] hide_code: Hide_code export handler extensions loaded.
If the above lines are missing, verify the server extension is enabled with jupyter nbextension list
. You should see:
hide_code/hide_code enabled
- Validating: OK
nbconvert 5.0+ does not work with hide_code. As a temporary patch, downgrade to 4.3.x
pip install 'nbconvert==4.3.0' --force-reinstall
(No longer need to do this; issue fixed in v0.5. Leaving as reference only.)