mpv 出 0.21.0 版本的时候用 brew upgrade 更新就一直无法通过,索性拆卸重装,但一直出错…… Python 和 docutils 之类的也都重装过,出错的原因都是同一个。
macOS 10.12.1
Homebrew 1.0.8
Python 3.5.2
~ brew install --HEAD --with-bluray-support --with-libdvdread --with-little-cms2 --with-lua --with-bundle mpv
==> Using the sandbox
==> Cloning https://github.com/mpv-player/mpv.git
Updating ~/Library/Caches/Homebrew/mpv--git
==> Checking out branch master
==> ./bootstrap.py
==> python3 waf configure --prefix=/usr/local/Cellar/mpv/HEAD-c8e3ee4_1 --enable
==> python3 waf install
Last 15 lines from ~/Library/Logs/Homebrew/mpv/03.python3:
+ install /usr/local/Cellar/mpv/HEAD-c8e3ee4_1/share/mpv/icons/hicolor/32x32/apps/mpv.png (from etc/mpv-icon-8bit-32x32.png)
+ install /usr/local/Cellar/mpv/HEAD-c8e3ee4_1/share/mpv/icons/hicolor/64x64/apps/mpv.png (from etc/mpv-icon-8bit-64x64.png)
+ install /usr/local/Cellar/mpv/HEAD-c8e3ee4_1/share/mpv/icons/hicolor/scalable/apps/mpv.svg (from etc/mpv-gradient.svg)
+ install /usr/local/Cellar/mpv/HEAD-c8e3ee4_1/share/mpv/icons/hicolor/symbolic/apps/mpv-symbolic.svg (from etc/mpv-symbolic.svg)
+ install /usr/local/Cellar/mpv/HEAD-c8e3ee4_1/lib/pkgconfig/mpv.pc (from build/libmpv/mpv.pc)
Traceback (most recent call last):
File "/usr/local/opt/docutils/bin/rst2man.py", line 21, in <module>
from docutils.core import publish_cmdline, default_description
ImportError: No module named docutils.core
Waf: Leaving directory `/private/tmp/mpv-20161025-1992-1rbrsdt/build'
Build failed
-> task in 'rst2man' failed (exit status 1):
{task 4415969096: rst2man mpv.rst -> mpv.1}
' /usr/local/opt/docutils/bin/rst2man.py ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-core/issues
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.