ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.23k stars 806 forks source link

Jupyter Contrib Nbextension Install Errors #1536

Open aalaja opened 3 years ago

aalaja commented 3 years ago

I have been trying to install jupyter extensions and keep running into the same issue. I installed the package using

pip install jupyter_contrib_nbextensions --user

I installed with --user because without it, I kept getting this error:

Installing collected packages: jupyter-contrib-nbextensions
  WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an EnvironmentError: [WinError 2] The system cannot find the file specified: 'c:\\python38\\Scripts\\jupyter-contrib-nbextension.exe' -> 'c:\\python38\\Scripts\\jupyter-contrib-nbextension.exe.deleteme'

The error comes when trying to install the nbextension files with:

jupyter contrib nbextension install --user

See the error below:

Traceback (most recent call last):
  File "c:\python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Python38\Scripts\jupyter.exe\__main__.py", line 7, in <module>
  File "c:\python38\lib\site-packages\jupyter_core\command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "c:\python38\lib\site-packages\jupyter_core\command.py", line 133, in _jupyter_abspath
    raise Exception(
Exception: Jupyter command `jupyter-contrib` not found.

I have tried with and without --user. Can anyone help me with this installation problem?