Mac(Miniconda)上的Jupyter Notebook posix_spawn失败

时间:2019-02-17 21:52:24

标签: python macos jupyter-notebook miniconda

我记得我在安装miniconda之前启动了jupyter。 由于某些原因,我不断收到错误消息:

posix_spawn: 
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.62.7

但是我不再有那个版本。

我安装了python 3.7,但是在安装conda之后,情况变得有些混乱。

这是我的.bash_profile:

# Setting PATH for Python 3.7
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:${PATH}"
export PATH

# added by Miniconda3 installer
export PATH="$HOME/Sites/miniconda3/bin:$PATH"

which python

/Users/me/Sites/miniconda3/bin/python

但是:

jupyter notebook

python3.6: posix_spawn: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.62.7: No such file or directory

我试图在bash_profile中注释python 3.7的先前文件夹,我认为有些旧的simlink会阻止找到正确的路径-当我安装python 3.6时

我本以为查看jupyter配置来启动jupyter notebook命令,但找不到它。

我该如何解决?

请不要使用brew。

0 个答案:

没有答案
相关问题