简体   繁体   English

Jupyter:“笔记本”不是 jupyter 命令

[英]Jupyter: "notebook" is not a jupyter command

I want to have jupyter notebook installed.我想安装 jupyter notebook。 But on my MacBook Pro (OS X El Capitan) and my web server (Debian 7), I get the same error: jupyter notebook is not a jupyter command.但是在我的 MacBook Pro(OS X El Capitan)和我的网络服务器(Debian 7)上,我得到了同样的错误:jupyter notebook 不是 jupyter 命令。

I just follow the official installation instruction.我只是按照官方安装说明进行操作。 And no error occurs during installation.并且在安装过程中不会出现错误。

I searched for solutions but none of them works.我搜索了解决方案,但没有一个有效。 What should I do now?我现在该怎么办?

After trying a bunch of solution, I found the quickest solution: using conda instead of pip.在尝试了一堆解决方案后,我找到了最快的解决方案:使用 conda 而不是 pip。 Or just use anaconda, which provides jupyter, too.或者只使用 anaconda,它也提供 jupyter。

我在使用fish时遇到同样的问题,当我切换到bash时,一切正常!

就我而言,这是在运行sudo pip install notebook之前同意 Xcode 许可协议的问题: sudo xcodebuild -license

对我有用的是在 MacOS High Sierra 10.13 中使用以下命令。

$HOME/anaconda3/bin/activate

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

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