gpt4 book ai didi

ruby - 要求 OS X Brew 库安装错误

转载 作者:太空宇宙 更新时间:2023-11-03 16:52:56 25 4
gpt4 key购买 nike

我正在尝试从 RVM 到我的 MacBook 进行全新安装,并且我在 RVM 要求方面做了很多工作。我开始单独安装,但是出现这个错误:

$ rvm requirements
Installing requirements for osx, might require sudo password.
Already up-to-date.
Installing required packages: libxml2, libxslt........
Error running 'requirements_osx_brew_libs_install libxml2 libxslt',
please read /Users/myuser/.rvm/log/1370499182_package_install_libxml2_libxslt.log

日志包含这些消息:

[2013-06-05 23:00:55] requirements_osx_brew_libs_install
Error: No such keg: /usr/local/Cellar/libxml2
Warning: For non-brewed Python, you have to set the PYTHONPATH in order to
find brewed Python modules.
export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
Error: File exists - /usr/local/lib/python2.7/site-packages
There were package installation errors, make sure to read the log.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation

我正在安装 RVM 以处理 Ruby on Rails 项目。

希望您能指导我,谢谢!

最佳答案

安装这两个包:

brew install libxml2 libxslt

在它们可以从 Homebrew 软件中获得后,rvm 将只使用它们并继续安装 ruby​​

关于ruby - 要求 OS X Brew 库安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16954975/

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