在Windows上通过命令行运行jupyter [英] Running jupyter via command line on Windows
问题描述
我已通过
$ pip install jupyter
即使我确实重新启动了终端,的安装也可以正常工作.
The installation for works fine, even though I did restart the terminal.
但是尝试跑步
$ jupyter notebook
'jupyter'不被识别为内部或外部命令, 可操作的程序或批处理文件.
'jupyter' is not recognized as an internal or external command, operable program or batch file.
如何以及在哪里找到Jupyter的可执行文件?
How and where do I find the executable for Jupyter?
推荐答案
如果您完全确定python库路径位于系统变量中(并且在pip安装jupyter时可以找到该路径,则只需阅读以下内容即可)一点),而您仍然在Windows中遇到找不到或识别命令"错误,可以尝试:
If you are absolutely sure that your python library path is in your system variables (and you can find that path when you pip install jupyter, you just have to read a bit) and you still experience "command not found or recognized" errors in windows, you can try:
python -m notebook
至少对于Windows(Windows 10 Pro),拥有python -m是我可以从命令行运行python软件包而不会遇到某种错误的唯一方法
For my windows at least (Windows 10 Pro), having the python -m is the only way I can run my python packages from command line without running into some sort of error
启动器中出现致命错误:无法使用'"
Fatal error in launcher: Unable to create process using ' "
或
未找到Errno'THIS_PROGRAM'
Errno 'THIS_PROGRAM' not found
这篇关于在Windows上通过命令行运行jupyter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!