安装 homebrew 时遇到,Warning: /opt/homebrew/bin is not in your PATH.

这篇具有很好参考价值的文章主要介绍了安装 homebrew 时遇到,Warning: /opt/homebrew/bin is not in your PATH.。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

此时homebrew已经安装成功了,但是没找到路径。需要把路径添加到path环境变量中。

在命令行依次输入并回车

echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc

source ~/.zshrc

echo $PATH

如下图

安装 homebrew 时遇到,Warning: /opt/homebrew/bin is not in your PATH.

会显示 /opt/homebrew/bin,说明环境配置成功。如下图

安装 homebrew 时遇到,Warning: /opt/homebrew/bin is not in your PATH.文章来源地址https://www.toymoban.com/news/detail-512997.html

到了这里,关于安装 homebrew 时遇到,Warning: /opt/homebrew/bin is not in your PATH.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 记录 | mac打开终端时报错:login: /opt/homebrew/bin/zsh: No such file or directory [进程已完成]

    mac打开终端时报错: login: /opt/homebrew/bin/zsh: No such file or directory [进程已完成],导致终端没有办法使用的情况 说明 zsh 没有安装或者是安装路径不对 可以看看 /bin 下有没有 zsh ,若没有,肯定是有 bash 那就把终端默认 shell 改成 /bin/bash 或者有 zsh 的话就改成 /bin/zsh ,就行 具体

    2024年01月19日
    浏览(42)
  • python报错:tesseract is not installed or it‘s not in your PATH.

    问题 :pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it’s not in your PATH. 1 电脑安装tesseract tesseract下载地址 一路默认安装,最后安装地址选择了D盘 配置path环境变量 cmd中 输入tesseract,安装成功 2 python 依赖包 还是报错 File “D:anacondaLibsite-packagespytesseractpytesse

    2024年02月03日
    浏览(32)
  • 已解决pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your PA

    已解决pytesseract模块提取图片内文字信息,抛出异常pytesseract.pytesseract.TesseractNotFoundError: tesseract is not installed or it’s not in your PATH. See README file for more information.的正确解决方法,亲测有效!!! 一个粉丝群小伙伴遇到问题跑来私信我,想用pytesseract模块提取图片内文字信息,但

    2024年02月15日
    浏览(36)
  • flask解决WARNING: This is a development server. Do not use it in a production deployment.

    解决 pycharm  flask项目无法正常运行 报错如下:WARNING: This is a development server. Do not use it in a production deployment. 解决方法:更改启动服务器 使用WSGI. 我的python版本为python 3.7所以只能使用gevent包来启用WSGI 下载gevent包:在控制台输入:  之后在代码中导入个gevent后调用,再run app就

    2024年02月11日
    浏览(34)
  • 运行flask报WARNING: This is a development server. Do not use it in a production deployment.

    运行 flask 程序,报: WARNING: This is a development server. Do not use it in a production deployment. 解决方案一,使用PyWSGI(不推荐) 1. 下载gevent包:在控制台输入: pip install gevent 2. 修改 flask 启动代码: 解决方案二,虽然 PyWSGI 服务器相对轻量并且易于设置,但许多人更倾向于使用像 Gun

    2024年02月07日
    浏览(29)
  • Git报错:email address is not registered in your account, and you lack ‘forge committer‘ permission

    报错:commit 806f923: email address is not registered in your account, and you lack ‘forge committer’ permission. remote: The following addresses are currently registered: 过程:试过很多次重设user.name和user.email,并且重新commit,均失败。但是查看git config配置都是正常的。 解决方法:打开home下的.git-credential

    2024年02月11日
    浏览(40)
  • 使用flask,关于WARNING: This is a development server. Do not use it in a production deployment问题

    当flask开发web服务,本地开发完成后,部署线上环境,运行,也会和本地一样,控制台会打印以下信息: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. 提示信息很明显,意思就是在生产环境,不要再用这种方式运行程序,最好用W

    2024年02月16日
    浏览(25)
  • 解决WARNING: /opt/hadoop-3.1.1/logs does not exist. Creating.

    在启动Hadoop集群的过程中 在三个节点上启动journalnode 命令如下: hdfs --daemon start journalnode 出现错误: WARNING: /opt/hadoop-3.1.1/logs does not exist. Creating. 解决方法: 进入安装hadoop的目录,我这里是/opt  然后重新运行 hdfs --daemon start journalnode 结果如下  

    2024年02月12日
    浏览(91)
  • pycharm运行错误提示:Could not locate zlibwapi.dll. Please make sure it is in your library path

    进行tensort加速,cmake编译失败,缺少zlibwapi.dll文件,解决详细步骤: 1. 下载zlibwapi.dll,下载地址:www.winimage.com/zLibDII/ ( zlibwapi.dll资源:链接:https://pan.baidu.com/s/1oLVRk6XL40iNIqRzKEkLyQ                                   提取码:1111     ) 2. 解压下载好的文件  3. 进入文件

    2024年02月12日
    浏览(40)
  • 消除Flutter doctor的警告Warning: `dart` on your path resolves to xxx/bin/dart

    最新更新了Flutter SDK到最新版本,然后使用 doctor 命令检查环境发现以下警告. Warning: dart on your path resolves to /usr/local/Cellar/dart/2.13.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/wangyang/Developer/develop_env/flutter_3.7.9. Consider adding /Users/wangyang/Developer/develop_env/flutter

    2024年02月11日
    浏览(30)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包