Closed3
WSL2でのjupyter環境メモ
Install
python -m pip install jupyter
起動
python -m jupyter notebook
ブラウザからlocalost:8888にアクセス。
tokenの確認
python -m jupyter notebook list
Nbextensionsのインストール
python -m pip install jupyter-contrib-nbextensions jupyter-nbextensions-configurator
準備
ディレクトリ生成の権限不足なので、生成しておく
sudo mkdir /usr/local/share/jupyter
sudo mkdir /usr/local/etc/jupyter
sudo chown $USER /usr/local/share/jupyter
sudo chown $USER /usr/local/etc/jupyter
Jupyterにインストール
python -m jupyter contrib nbextension install
python -m jupyter nbextensions_configurator enable
コード補完の有効化
- Jupyterを再起動
- ホームにあるNbextensionsタブを開く
-
disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)
のチェックを外す -
Hinterland
にチェック
このスクラップは2021/08/19にクローズされました