4
jupyterノートにいくつかの拡張機能をインストールしてみたところ、どうやってそれを行うのか分かりませんでした。 基本的には私のノートブックでpep8コードをチェックしたいと思っています。 は、私がこの記事をチェックする:jupyter notebook extensionのインストール
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
今の私はそれが動作することができませんでしたから: Verifying PEP8 in iPython notebook code
しかし%install_ext
は、私は私が手
jupyter nbextension install https://raw.githubusercontent.com/SiggyF/notebooks/master/pep8_magic.py --user
を使用ので、代わりに推奨されていません。 私は試しました:
~$ jupyter nbextension enable pep8_magic.py --user
Enabling notebook extension pep8_magic.py...
- Validating: problems found:
- require? X pep8_magic.py
成功しません。
誰かがそれを動作させるための簡単な方法と、私がjupyter拡張機能について忘れていたことを説明できますか?
ありがとうございました!