首页 > 编程语言 > 详细

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

时间:2020-02-15 21:08:38      阅读:104      评论:0      收藏:0      [点我收藏+]

ZC:此处是Windows环境下

1、查看 juypter是否安装,及其安装路径

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

2、安装juypter(没有安装的话)

  CMD:pip install jupyter

3、启动:

  CMD:jupyter notebook

  同时,默认浏览器会打开 Jupyter notebook 窗口。 说明 Jupyter notebook 安装成功了。

4、配置 Jupyter notebook 

  ZC:暂时没用到,以后用到再查资料吧...

5、

6、运行时报错:

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>

 

  网上查到命令:pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

7、

8、

9、

10、

 

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

原文:https://www.cnblogs.com/pythonzc/p/12313571.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!