简体   繁体   English

要求OS X Brew库安装错误

[英]Requirements OS X Brew libs install error

I am trying to make a clean install from RVM to my MacBook and I have a lot of work with the RVM requirements. 我正在尝试从RVM到MacBook进行全新安装,并且在RVM要求方面有很多工作要做。 I started to install separately, but I have this error: 我开始单独安装,但是出现此错误:

$ 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

The log has these messages: 日志中包含以下消息:

[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

I'm installing RVM to work on Ruby on Rails projects. 我正在安装RVM以在Ruby on Rails项目上工作。

I hope you can guide me, thank you! 希望您能指导我,谢谢!

install this two packages: 安装这两个软件包:

brew install libxml2 libxslt

after they are available from homebrew rvm will just use them and continue with ruby installation 从homebrew rvm获得它们之后,将使用它们并继续进行ruby安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM