gpt4 book ai didi

linux - Homebrew 软件错误。路径中带有斜线的目录。已经编辑了我的 $PATH 但我仍然找不到/

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:54:39 24 4
gpt4 key购买 nike

运行 $ brew doctor 我收到以下错误。我知道这是一个 $PATH 问题并编辑了我的 ~/.bashrc 文件和我的 ~/.bash_profile 文件。我可以看到/usr/bin/的地方没有了。

无论如何我可以找到这个有问题的/usr/bin/所在的位置吗?

Warning: Some directories in your path end in a slash.
Directories in your path should not end in a slash. This can break other
doctor checks. The following directories should be edited:
/usr/bin/

最佳答案

您需要重新启动终端窗口以使 ~/.bashrc 和 ~/.bash_profile 中的更改生效。希望解决方案就这么简单。

关于linux - Homebrew 软件错误。路径中带有斜线的目录。已经编辑了我的 $PATH 但我仍然找不到/,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22132071/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com