Skip to content
kirbs- edited this page Feb 17, 2020 · 4 revisions

Installation Issues

  1. pip install hide_code
  2. jupyter nbextension install --py hide_code
  3. jupyter nbextension enable --py hide_code
  4. jupyter serverextension enable --py hide_code

Upgrading with nbextension

  1. pip install hide_code --upgrade
  2. jupyter nbextension install --py hide_code

404 Errors

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

500 Errors

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.)

Clone this wiki locally