Installing Jupyter
pip install notebook2. 安装jupyter 后,报错jupyter-notebook not found
参考报错“Exception: Jupyter command jupyter-notebook not found“ 重新安装。
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter3. 出现permission 问题
指定--user再次安装
pip3 install --upgrade --force-reinstall --no-cache-dir jupyter --user4. 出现安装目录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.解决
参考:
- The script is installed in directory, which is not PATH
在mac ~/.bash_profile 中增加jupyter notebook 安装路径alias jupyter='/Users/Rachel1900/Library/Python/3.8/bin/jupyter'。
运行,验证。问题解决。
Rachel1900 (master #) ~ $ open ~/.bash_profile Rachel1900 (master #) ~ $ source ~/.bash_profile Rachel1900 (master #) ~ $ jupyter notebook其他参考
- Permanently add a directory to PYTHONPATH?



