2017-03-17 203 views
0

我只是一個初學者,嘗試使用魚殼。魚殼找不到jupyter筆記本

我安裝了魚殼後,命令行找不到jupyter筆記本。

> jupyter notebook 
fish: Unknown command 'jupyter' 

jupyter安裝在pip3中,它最初在bash中工作正常。

> pip3 show jupyter 
Name: jupyter 
Version: 1.0.0 
Summary: Jupyter metapackage. Install all the Jupyter components in one go. 
Home-page: http://jupyter.org 
Author: Jupyter Development Team 
Author-email: [email protected] 
License: BSD 
Location: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages 
Requires: ipywidgets, ipykernel, nbconvert, notebook, qtconsole, jupyter-console 

我想念路徑變量設置嗎?

回答

2

您必須在諸如〜/ .bashrc之類的bash配置腳本之一中自定義您的$ PATH。可能通過尋找幫手腳本來設置jupyter的環境。啓動bash並運行type jupyterecho $PATH。然後在運行魚時將其與echo $PATH進行比較並添加缺少的目錄。你會想通過將set PATH $PATH /missing/directory添加到你的〜/ .config/fish/config.fish來使其永久生效。

+0

謝謝,我添加我的python3斌路徑魚配置後問題解決。 – Jim