码迷,mamicode.com
首页 > 系统相关 > 详细

Mac 安装gevent

时间:2019-06-26 01:00:21      阅读:304      评论:0      收藏:0      [点我收藏+]

标签:==   pre   python   setup   file   sel   from   tps   done   

直接运行 pip install gevent 安装必然会报错,正确的做法:

安装xcode

xcode-select --install

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

mac126:Desktop mac126$ pip3 install gevent
Collecting gevent
  Using cached https://files.pythonhosted.org/packages/6c/49/681ec1026fe0313d1c6f00a58416f9ade121911f2fd55023e3e7cbd7803f/gevent-1.4.0-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.4.0 greenlet-0.4.15

 

Mac 安装gevent

标签:==   pre   python   setup   file   sel   from   tps   done   

原文地址:https://www.cnblogs.com/liangliangzz/p/11087511.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!