寻找关于我的路径变量&为什么jupyter笔记本不会运行。我刚买了一台新的笔记本电脑(Mac,Sierra 10.13),使用pip来安装jupyter,并使用已安装的Python 2.7。
当我尝试输入命令'jupyter notebook'时,我得到:
-bash: jupyter: command not found
'/ Library/Python/2.7/lib/bin'中有一个'jupyter'脚本,我的PATH在bash_profile中设置为相同。当我输入'echo $ PATH'时,它返回:
/Library/Python/2.7/lib/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
我可以获得jupyter笔记本界面的唯一方法运行是在终端输入'python -m“jupyter”notebook“。
我觉得我的软件包安装位置有问题,但无法解决。如果有人可以帮忙,很乐意提供更多信息。谢谢!