美文网首页
MPV 安装 import error setuptools

MPV 安装 import error setuptools

作者: Thresh0ld | 来源:发表于2016-07-04 23:36 被阅读271次

    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

    相关文章

      网友评论

          本文标题:MPV 安装 import error setuptools

          本文链接:https://www.haomeiwen.com/subject/ddlhjttx.html