簡體   English   中英

要求OS X Brew庫安裝錯誤

[英]Requirements OS X Brew libs install error

我正在嘗試從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安裝

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM