MPV常见的配置文件
# taken from http://coalgirls.wakku.to/faq/playback/compiling-mpv-on-mac-os-x
# install homebrew
# setup
sudo easy_install docutils
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
# install python3
brew install python3
pip3 install --upgrade pip setuptools
# install mpv
brew install --HEAD --with-bundle --with-bluray-support --with-libdvdread --with-little-cms2 --with-lua --with-bundle mpv
brew linkapps mpv
# upgrade
brew rm mpv
brew install --HEAD --with-bundle --with-bluray-support --with-libdvdread --with-little-cms2 --with-lua --with-bundle mpv
我遇到的问题:
在执行按照MPV时遇到 import error setuptools
ImportError: No module named 'setuptools'
解决步骤:
# download and install pip
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
关注我的公众号.jpg
网友评论