![](/img/trans.png)
[英]Installing multiple Python 3 kernels in iPython/Jupyter Notebooks
[英]installing jupyter notebooks on macOS
當我執行 pip install jupyter notebook,它似乎安裝然后我運行“jupyter notebook”時,它告訴我“zsh:找不到命令:jupyter”
在 macOS 上使用 zsh 也有關系嗎?
有什么建議也可以解決這個問題嗎? 謝謝! 約翰尼
確保 juypter 的安裝位置在 zsh shell 中的執行路徑上。 (如果“which jupyter”未列出有效路徑,那是您的問題。:)
應該看起來像這樣,但在你的機器上的位置:
(jupyter) c-67-188-202-51{rich:~/src/python/udemy/completePythonBootcamp} which jupyter
/Users/rich/src/python/udemy/completePythonBootcamp/jupyter/bin/jupyter
我遇到了類似的問題。 如果你已經使用安裝它--user
嘗試添加到您的路徑變量.zshrc
這樣的路徑/Users/<name_of_your_user>/Library/Python/3.8/bin
。 將<name_of_your_user>
替換為用戶名,也許你有另一個版本的 python,文件夾3.8
應該替換為相應的版本。 它幫助了我。 請檢查這是否適合您,如果確實如此,請將問題標記為已解決。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.