欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Jupyter安裝nbextensions,啟動(dòng)提示沒有nbextensions庫(kù)

 更新時(shí)間:2020年04月23日 16:09:23   作者:送人親  
這篇文章主要介紹了Jupyter安裝nbextensions,啟動(dòng)提示沒有nbextensions庫(kù),具有很好的參考價(jià)值,希望對(duì)大家有所幫助。一起跟隨小編過來看看吧

錯(cuò)誤日志

ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'

 Traceback (most recent call last):
  File "/usr/local/Cellar/jupyterlab/2.0.1/libexec/lib/python3.7/site-packages/notebook/notebookapp.py", line 1670, in init_server_extensions
  mod = importlib.import_module(modulename)
  File "/usr/local/Cellar/jupyterlab/2.0.1/libexec/lib/python3.7/importlib/__init__.py", line 127, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
 ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'

分析原因

nbextensions已經(jīng)安裝成功,但是啟動(dòng)jupyter的時(shí)候,提示

"No module named 'jupyter_nbextensions_configurator"

而且notebook的首頁(yè)也沒有nbextensions標(biāo)簽。

網(wǎng)上搜索了很多文章,嘗試過很多方法,甚至卸載jupyter重新安裝也不行。

于是決定還是從錯(cuò)誤日志入手,既然提示沒有module,第一行也給了一個(gè)路徑

/usr/local/Cellar/jupyterlab/2.0.1/libexec/lib/python3.7/site-packages/

反正死馬當(dāng)活馬醫(yī),在這個(gè)路徑下再安裝jupyter_nbextensions_configurator試試

pip3 install --target=/usr/local/Cellar/jupyterlab/2.0.1/libexec/lib/python3.7/site-packages jupyter_contrib_nbextensions

結(jié)果還真解決了,啟動(dòng)的時(shí)候沒有提示錯(cuò)誤,標(biāo)簽也正常顯示

以上這篇Jupyter安裝nbextensions,啟動(dòng)提示沒有nbextensions庫(kù)就是小編分享給大家的全部?jī)?nèi)容了,希望能給大家一個(gè)參考,也希望大家多多支持腳本之家。

相關(guān)文章

最新評(píng)論