【问题标题】:Conda path no such directory康达路径没有这样的目录
【发布时间】:2019-07-20 07:19:42
【问题描述】:

我不能使用任何 conda 命令。我在命令提示符中设置了where pythonwhere conda 的环境路径,但它仍然不起作用(见截图)。当我在 anaconda 提示符中尝试时,我得到了同样的错误:

python: can't open file 'C:\Users\Rebecca\Anaconda3\Library\bin\..\..\bin\conda': [Errno 2] No such file or directory

编辑:我使用的是 Windows 10

【问题讨论】:

    标签: python path directory anaconda conda


    【解决方案1】:

    在终端中执行~/.bashrc。转到给定的路径并更正conda.sh 路径。 在您的情况下,您需要将 \-slashes 替换为 /-slashes

    我希望这就是全部,这对您有所帮助。 否则我建议重新安装。

    【讨论】:

    • 当我运行 C:\Users\Rebecca>~/.bashrc 时,我收到错误 '~' is not recognized as an internal or external command, operable program or batch file.
    • 是的,我收到了The system cannot find the bath specified。我尝试按照您的建议重新安装,这似乎有效
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-08-24
    • 2020-05-31
    • 1970-01-01
    • 1970-01-01
    • 2021-01-12
    • 2016-03-21
    • 1970-01-01
    相关资源
    最近更新 更多