美文网首页
pip install channels error in

pip install channels error in

作者: Jayce_xi | 来源:发表于2019-12-31 16:59 被阅读0次

    1.问题描述

    在mac上安装channels包报以下错误

    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      error: command 'gcc' failed with exit status 1
      ----------------------------------------
      ERROR: Failed building wheel for twisted
      Running setup.py clean for twisted
    Failed to build twisted
    Installing collected packages: twisted, daphne, channels
        Running setup.py install for twisted ... error
        ERROR: Command errored out with exit status 1:
    
    
    ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/pm/t_gvmn156qn6yf7vmsvl6r1c0000gn/T/pip-install-cp5zeh_9/twisted/setup.py'"'"'; __file__='"'"'/private/var/folders/pm/t_gvmn156qn6yf7vmsvl6r1c0000gn/T/pip-install-cp5zeh_9/twisted/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/pm/t_gvmn156qn6yf7vmsvl6r1c0000gn/T/pip-record-ekw0uj6s/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
    

    报错特别长

    2. 解决

    xcode-select --install
    

    3. 参考

    https://stackoverflow.com/questions/47400675/error-on-pip-install-u-channels-command-using-for-otree-running-setup-py-bdi

    相关文章

      网友评论

          本文标题:pip install channels error in

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