2
我想從RVM到我的MacBook進行全新安裝,並且我對RVM要求有很多工作。我開始單獨安裝,但我有此錯誤:要求OS X Brew庫安裝錯誤
$ 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的項目。
希望你能引導我,謝謝!
我收到一個錯誤信息後:警告:對於非釀造的Python,你必須設置PYTHONPATH以便 找到釀造的Python模塊。 export PYTHONPATH =/usr/local/lib/python2.7/site-packages:$ PYTHONPATH 錯誤:文件存在 - /usr/local/lib/python2.7/site-packages – Stanmx
是不是隻有這個?它看起來更像是一個警告,檢查包是否已安裝'brew list -1 | \ grep libxml2'?確保顯示整個輸出/日誌。 – mpapis
不要顯示任何內容。 – Stanmx