外包 | mac 在 anaconda navigator 打不开 jupyter notebook

2023-05-16

a. 问题: mac 在 anaconda navigator 打不开 jupyter notebook

错误提示: The file /Users/xxx/opt/anaconda3/bin/jupyter_mac.command does not exist.
重点在于: jupyter_mac.command does not exist

b. 解决:

  1. 访达 路径 /Users/xxx/opt/anaconda3/bin/
  2. 在这个路径下新建文件 jupyter_mac.command
  3. 文字编辑, 在这个文件里写入以下内容:
    DIR=$(dirname $0)
    
    $DIR/jupyter-notebook
    
  4. 打开终端, 输入以下命令, 跳转到路径:
    cd /Users/xxx/opt/anaconda3/bin/
    
  5. 在终端输入下列命令, 修改 jupyter_mac.command 的权限
    sudo chmod -R 777 ./jupyter_mac.command
    
    回车后, 要求输入密码, 此时密码不会显示, 输完后直接按回车就可以了
  6. 然后就解决了, 可以直接在 navigator 打开 jupyter notebook 了
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

外包 | mac 在 anaconda navigator 打不开 jupyter notebook 的相关文章

随机推荐