当前位置:Gxlcms > 数据库问题 > install python+twisted+mysqldb+nginx+uwsgi on mac

install python+twisted+mysqldb+nginx+uwsgi on mac

时间:2021-07-01 10:21:17 帮助过:3人阅读

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

标签:

人气教程排行