jupyter-notebook."*.ipynb"文件_安装等
ZC:此处是Windows环境下
1、查看 juypter是否安装,及其安装路径
CMD:python -c "import jupyter;print(jupyter.__version__)"
2、安装juypter(没有安装的话)
CMD:pip install jupyter
3、启动:
CMD:jupyter-notebook ZC:注意,中间有一个横杠"-"啊 ! ! (之前搜索到的网页资料里面是没有横杠的"jupyter notebook"...)
ZC:有时中间不带"-"会不行(老版本?),有时又OK(新版本?)
同时,默认浏览器会打开 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 晚上网络太卡,下载不下来... 就没有更新
后来尝试使用命令:"jupyter-notebook",居然是成功运行了... 网上的教程居然是"jupyter-notebook",网上的教程可能是老版本的,因此命令可能不同。但是 这报错信息真是奇葩 这太误导人了,怎么看这保存信息也不会认为"jupyter-notebook"能成功啊...
7、
8、
9、
10、