python."*.ipynb"文件&"Jupyter Notebook"

ZC: here is the Windows environment

1 to see if juypter installation, and installation path

  CMD:python -c "import jupyter;print(jupyter.__version__)"

2, mounting juypter (not installed)

  CMD:pip install jupyter

3, start:

  CMD:jupyter notebook

  At the same time, the default browser opens  Jupyter notebook  window. Description  Jupyter notebook  installation was successful.

4, the configuration  Jupyter notebook 

  ZC: to temporarily useless, then later used it to find information ...

5、

6, run-time error:

E:\CaiPiao_01\ShuangSeQiu_01\LotteryPredict-master>jupyter notebook
Traceback (most recent call last):
  File "c:\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python\Python37\Scripts\jupyter.exe\__main__.py", line 9, in <module>
  File "c:\python\python37\lib\site-packages\jupyter_core\command.py", line 230, in main
    command = _jupyter_abspath(subcommand)
  File "c:\python\python37\lib\site-packages\jupyter_core\command.py", line 133, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-notebook` not found.

E:\CaiPiao_01\ShuangSeQiu_01\LotteryPredict-master>

 

  Found online command: pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

7、

8、

9、

10、

 

Guess you like

Origin www.cnblogs.com/pythonzc/p/12313571.html