使用终端機進入命令行:
分別輸入下列四行指令
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
重启jupyter,在主頁面裡,能看到增加了一个 Nbextensions 標籤,勾選 Hinterland 即啟用了代碼自动補全。
ps.我在MAC安裝不了, 出現問題時:
https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/848
於是將第二行指令改成下列指令
python .local / lib / python3.6
/ site-packages / jupyter_contrib_core / application.py nbextension install
--user