jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.79k stars 5.01k forks source link

Exception: Jupyter command `jupyter-notebook` not found. #5754

Open dacampos137 opened 4 years ago

dacampos137 commented 4 years ago

HI I have this problem and I am trying this tutorial https://lerryws.xyz/posts/PyQGIS-in-Jupyter-Notebook basically I want to Qgis functions in Jupiter and I wanted using OSgeo4W shell, also I tried to use conda install Qgis but then I have other error

C:>run-jupyter.bat The system cannot find the path specified. Traceback (most recent call last): File "C:\OSGeo4W\apps\Python37\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\OSGeo4W\apps\Python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\OSGeo4W\apps\Python37\Scripts\jupyter.exe__main__.py", line 7, in File "C:\OSGeo4W\apps\Python37\lib\site-packages\jupyter_core\command.py", line 247, in main command = _jupyter_abspath(subcommand) File "C:\OSGeo4W\apps\Python37\lib\site-packages\jupyter_core\command.py", line 134, in _jupyter_abspath 'Jupyter command {} not found.'.format(jupyter_subcommand) Exception: Jupyter command jupyter-notebook not found.

Rayman174-A commented 4 years ago

Try writing the complete file path and then running it. Also check for the jupyter versions.