I tried unsuccessfully to install some extensions for the jupyter laptop and cannot figure out how to do this. So basically I would like to check the pep8 code in my laptop. I checked this post:
PEP8 check in iPython laptop code
However, it is %install_extdeprecated, so instead I used
jupyter nbextension install https://raw.githubusercontent.com/SiggyF/notebooks/master/pep8_magic.py
So, I get:
Copying: /tmp/tmpw74yl7m2/pep8_magic.py -> /home/louis/.local/share/jupyter/nbextensions/pep8_magic.py
To initialize this nbextension in the browser every time the notebook (or other app) loads:
jupyter nbextension enable <the entry point> --user
From now on, I could not get it to work. I tried:
~$ jupyter nbextension enable pep8_magic.py --user
Enabling notebook extension pep8_magic.py...
- Validating: problems found:
- require? X pep8_magic.py
Without success.
Can someone explain a simple way to make it work and what I missed about jupyter extensions?
Thank!
source
share