mac os
1.pip install notebook 安装
Installing Jupyter
pip install notebook
2. 安装jupyter 后,报错jupyter-notebook not found
参考报错“Exception: Jupyter command jupyter-notebook not found“ 重新安装。
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter
3. 出现permission 问题
指定--user 再次安装
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter --user
4. 出现安装目录not on path 问题
WARNING: The scripts jupyter-dejavu and jupyter-nbconvert are installed in '/Users/Rachel1900/Library/Python/3.8/bin' which is not on PATH.
5.解决
参考:
运行,验证。问题解决。
Rachel1900 (master
$ open ~/.bash_profile
Rachel1900 (master
$ source ~/.bash_profile
Rachel1900 (master
$ jupyter notebook
其他参考
|