Python 2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted
2) 未安装时,手动下载安装包 地址:https://twistedmatrix.com/trac/wiki/Downloads
选择 Source Tarball
- Twisted 15.2.1 ?tarball 下载
3)解压后,点击setup.py > 右键"打开方式" >选择 “Build Applet”
4)在mac终端输入命令:$python setup.py install
直到提示
Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Finished processing dependencies for Twisted==15.2.1
安装成功。
三. install zope.interface if need it.
1) 下载地址: https://pypi.python.org/pypi/zope.interface/4.1.2#downloads
2)安装过程同twisted. 不再重复。
install python+twisted+mysqldb+nginx+uwsgi on mac
标签:
本文系统来源:http://www.cnblogs.com/tangkaixin/p/4593642.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!