已删除 Anaconda 目录,现在无法在终端中使用 Python3
Deleted Anaconda directory, now can't use Python3 in Terminal
我删除了 Anaconda 目录,因为我一直没有使用它,现在在终端中输入 python3
时,我得到 -bash: //anaconda/bin/python3: No such file or directory
.
我安装了 python3.6,当我输入 which python3
时会显示它。我真的很感激任何帮助弄清楚如何更正此问题以便我可以再次访问终端中的 python3?
Bash 缓存名称查找;从该缓存中清除 python3
:
hash -d python3
下次您使用 python3
时,将再次搜索 PATH
目录并再次缓存结果。
我删除了 Anaconda 目录,因为我一直没有使用它,现在在终端中输入 python3
时,我得到 -bash: //anaconda/bin/python3: No such file or directory
.
我安装了 python3.6,当我输入 which python3
时会显示它。我真的很感激任何帮助弄清楚如何更正此问题以便我可以再次访问终端中的 python3?
Bash 缓存名称查找;从该缓存中清除 python3
:
hash -d python3
下次您使用 python3
时,将再次搜索 PATH
目录并再次缓存结果。