zoukankan      html  css  js  c++  java
  • mac 安装gevent报错

    运行pip install gevent报错

    错误信息如下

    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
    

    解决方案
    安装xcode

    xcode-select --install
    

    再次运行
    pip install gevent安装成功。

    bogon:cxa$ pip3 install gevent
    Collecting gevent
      Using cached https://files.pythonhosted.org/packages/fb/60/51e8914e51755095bb513f666fb25a9a52ed69fdda18ff199fe2041a46f3/gevent-1.3.7-cp36-cp36m-macosx_10_6_intel.whl
    Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent)
      Using cached https://files.pythonhosted.org/packages/f8/e8/b30ae23b45f69aa3f024b46064c0ac8e5fcb4f22ace0dca8d6f9c8bbe5e7/greenlet-0.4.15.tar.gz
    Installing collected packages: greenlet, gevent
      Running setup.py install for greenlet ... done
    Successfully installed gevent-1.3.7 greenlet-0.4.15
    
  • 相关阅读:
    设计模式-原型模式(06)
    看起来很懵的java内存加载面试题
    回数
    花式赋值
    常量
    Python解释器安装
    计算机基础小结
    网络的瓶颈效应
    __init__和__new__
    super()方法详解
  • 原文地址:https://www.cnblogs.com/c-x-a/p/9841903.html
Copyright © 2011-2022 走看看