Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ml-day-2]macOS安装jupyter最后一步jupyter --version没有显示 #32

Closed
lucygu820 opened this issue Jan 23, 2019 · 0 comments
Closed

Comments

@lucygu820
Copy link

让终端认识jupyter这个命令,步骤如下:
1.找到 jupyter的安装位置:pip3 show jupyter
2.拷贝位置(框中文字后,键盘上Command + C组合键进行复制)
3.打开环境变量配置文件:open ~/.bash_profile
4.键入以下内容:export PIP_INSTALL_PATH=jupyter_location(把这个jupyter_location用复制的安装路径覆盖)
5.应用环境配置文件:source ~/.bash_profile
6.关闭终端,重新打开使配置生效
7.终端中键入:jupyter --version

前6步都很正常,没有问题,但是最后一步重新打开终端,键入jupyter --version,就出现
-bash: jupyter: command not found

求解答,谢谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant