首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更改路径以修复Mac:` -bash: jupyter: command not fix `?

更改路径以修复Mac:` -bash: jupyter: command not fix `?
EN

Stack Overflow用户
提问于 2016-12-31 14:46:41
回答 0查看 745关注 0票数 0

这个问题之前已经在SO上讨论过了,但是推荐的修复方法并不起作用。

我已经使用pip install jupyter --upgrade和macports port install py34-jupyter安装了Jupyter,但是我无法通过命令行访问命令jupyter

执行pip install jupyter时,消息为:

代码语言:javascript
复制
Requirement already satisfied: jupyter in /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages

这也是pip所在的位置。我也试过

代码语言:javascript
复制
pip uninstall notebook
pip install notebook --upgrade

但这并不管用。

/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages内部,我看到:

代码语言:javascript
复制
jupyter-1.0.0-py3.4.egg-info
jupyter-1.0.0.dist-info
jupyter.py
jupyter_client
jupyter_client-4.4.0-py3.4.egg-info
jupyter_client-4.4.0.dist-info
jupyter_console
jupyter_console-5.0.0-py3.4.egg-info
jupyter_console-5.0.0.dist-info
jupyter_core
jupyter_core-4.2.0.dist-info
jupyter_core-4.2.1-py3.4.egg-info

我认为可能是命令jupyter没有必要的可执行文件的正确路径,但情况似乎并非如此。

我如何访问jupyter notebook

EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41406153

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档