简体   繁体   English

Jupyter Notebook 可以在 VS 代码中打开,但不能在终端中打开

[英]Jupyter Notebook can open in VS code, but not in the terminal

My Jupyter Notebook works in Visual Studio Code, but it does not work in the terminal anymore.我的 Jupyter Notebook 在 Visual Studio Code 中工作,但它不再在终端中工作。 I cannot open through terminal and connect to local host anymore.. It always show the error that command not found though I have installed the notebook package.. What could've been the issue here?我无法通过终端打开并连接到本地主机了.. 它总是显示命令未找到的错误,尽管我已经安装了笔记本包.. 这里可能是什么问题? 在此处输入图片说明

You pip3 install jupyter你 pip3 安装 jupyter

and you run jupyter notebook with this line: python3 -m jupyter notebook然后你用这一行运行 jupyter notebook:python3 -m jupyter notebook

For some reason, use jupyter notebook directly will give me the error in the above image... so I guess this solve the problem..出于某种原因,直接使用 jupyter notebook 会给我上图中的错误......所以我想这可以解决问题..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM