command not found: jupyter
时间: 2023-08-30 11:07:39 浏览: 156
回答: 当出现"command not found: jupyter"的错误时,可能是由于环境变量配置不正确导致的。首先,可以检查环境变量配置是否正确。在Windows系统中,可以通过运行命令"python -m pip install --upgrade pip"来升级pip,并通过"pip install jupyter"来安装jupyter。在Linux系统中,可以运行命令"python3 -m pip install --upgrade pip"来升级pip,并通过"pip install jupyter"来安装jupyter。如果安装后仍然无法找到该命令,可以尝试在终端输入"~/.local/bin/jupyter-notebook"来使用jupyter notebook。如果关闭终端再打开时仍然报错,可以修改环境变量配置。在~/.bashrc文件中添加jupyter notebook的路径,可以通过运行命令"sudo vim ~/.bashrc"来编辑该文件,并添加"export PATH=~/.local/bin:${PATH}"的内容。这样就可以解决"command not found: jupyter"的问题。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [jupyter command `jupyter-notebook` not found](https://blog.csdn.net/qq_24330181/article/details/131061666)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [ubuntu中Jupyter notebook报错:jupyter: command not found](https://blog.csdn.net/jingyoushui/article/details/101039750)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文