首页 > 解决方案 > -bash: /shared/conda/bin/python3: 没有这样的文件或目录

问题描述

这是 bash 应该获取的 python3 和 python 可执行文件

$ which python3
/usr/bin/python3
$ which python
/usr/bin/python

然而,在运行 python3 时,它会检查 conda python

$ python3 setup.py installcli
-bash: /shared/conda/bin/python3: No such file or directory

为什么会这样?

标签: pythonpython-3.xbash

解决方案


推荐阅读