浏览 7038 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (3) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-10-14
最后修改:2009-07-16
首先从 turbogears 下载安装脚本,由于python的跨平台特性,此文件在windows上和linux上运行都一样,很棒. 上传至服务器后,改变其运行属性: chmod 744 getturbogears.py 运行它即可: python getturbogears.py 将会输出一下信息. TurboGears Installer Beginning setuptools/EasyInstall installation and TurboGears download Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg Processing setuptools-0.6c8-py2.5.egg Copying setuptools-0.6c8-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding setuptools 0.6c8 to easy-install.pth file Installing easy_install script to /usr/python252/bin Installing easy_install-2.5 script to /usr/python252/bin Installed /usr/python252/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg Processing dependencies for setuptools==0.6c8 Finished processing dependencies for setuptools==0.6c8 Searching for TurboGears==1.0.7 Reading http://www.turbogears.org/download/ Reading http://pypi.python.org/simple/TurboGears/ Reading http://www.turbogears.org Reading http://www.turbogears.org/download/filelist.html Best match: TurboGears 1.0.7 Downloading http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg Processing TurboGears-1.0.7-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/TurboGears-1.0.7-py2.5.egg Extracting TurboGears-1.0.7-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding TurboGears 1.0.7 to easy-install.pth file Installing tg-admin script to /usr/python252/bin Installed /usr/python252/lib/python2.5/site-packages/TurboGears-1.0.7-py2.5.egg Reading http://files.turbogears.org/eggs/ Processing dependencies for TurboGears==1.0.7 Searching for TurboKid>=1.0.4 Reading http://pypi.python.org/simple/TurboKid/ Reading http://www.turbogears.org/docs/plugins/template.html Reading http://www.turbogears.org/preview/download/ Reading http://docs.turbogears.org/TurboKid Best match: TurboKid 1.0.4 Downloading http://files.turbogears.org/eggs/TurboKid-1.0.4-py2.5.egg Processing TurboKid-1.0.4-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg Extracting TurboKid-1.0.4-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding TurboKid 1.0.4 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg Searching for TurboJson>=1.1.4,<1.2 Reading http://pypi.python.org/simple/TurboJson/ Reading http://docs.turbogears.org/TurboJson Best match: TurboJson 1.1.4 Downloading http://pypi.python.org/packages/2.5/T/TurboJson/TurboJson-1.1.4-py2.5.egg#md5=d7bb809e5a0e40ffcc0018854c2eaeb6 Processing TurboJson-1.1.4-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/TurboJson-1.1.4-py2.5.egg Extracting TurboJson-1.1.4-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding TurboJson 1.1.4 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/TurboJson-1.1.4-py2.5.egg Searching for TurboCheetah>=1.0 Reading http://pypi.python.org/simple/TurboCheetah/ Reading http://docs.turbogears.org/TurboCheetah Best match: TurboCheetah 1.0 Downloading http://files.turbogears.org/eggs/TurboCheetah-1.0-py2.5.egg Processing TurboCheetah-1.0-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg Extracting TurboCheetah-1.0-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding TurboCheetah 1.0 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg Searching for simplejson>=1.3 Reading http://pypi.python.org/simple/simplejson/ Reading http://undefined.org/python/#simplejson Best match: simplejson 2.0.3 Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.3.tar.gz#md5=6da5d665c9e772ac65eae9b4ce6d737b Processing simplejson-2.0.3.tar.gz Running simplejson-2.0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-zLI8TC/simplejson-2.0.3/egg-dist-tmp-7VReHx Adding simplejson 2.0.3 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/simplejson-2.0.3-py2.5-linux-i686.egg Searching for RuleDispatch>=0.5a0.dev-r2303 Reading http://pypi.python.org/simple/RuleDispatch/ Couldn't retrieve index page for 'RuleDispatch' Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ Best match: RuleDispatch 0.5a1.dev-r2506 Downloading http://files.turbogears.org/eggs/RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg Processing RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg Moving RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages Adding RuleDispatch 0.5a1.dev-r2506 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/RuleDispatch-0.5a1.dev_r2506-py2.5-linux-i686.egg Searching for PasteScript>=1.6.2 Reading http://pypi.python.org/simple/PasteScript/ Reading http://pythonpaste.org/script/ Best match: PasteScript 1.6.3 Downloading http://pypi.python.org/packages/source/P/PasteScript/PasteScript-1.6.3.tar.gz#md5=d91ad7e03d07f94a3206fef13c18cf49 Processing PasteScript-1.6.3.tar.gz Running PasteScript-1.6.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kRaZlE/PasteScript-1.6.3/egg-dist-tmp-upq0Ok Adding PasteScript 1.6.3 to easy-install.pth file Installing paster script to /usr/python252/bin Installing paster script to /usr/python252/bin Installed /usr/python252/lib/python2.5/site-packages/PasteScript-1.6.3-py2.5.egg Searching for FormEncode>=0.7.1 Reading http://pypi.python.org/simple/FormEncode/ Reading http://formencode.org Reading http://formencode.sf.net Best match: FormEncode 1.0.1 Downloading http://pypi.python.org/packages/2.5/F/FormEncode/FormEncode-1.0.1-py2.5.egg#md5=f9bee5c918efc078b8b5ad38f92b1138 Processing FormEncode-1.0.1-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg Extracting FormEncode-1.0.1-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding FormEncode 1.0.1 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg Searching for DecoratorTools>=1.4 Reading http://pypi.python.org/simple/DecoratorTools/ Reading http://peak.telecommunity.com/DevCenter/DecoratorTools Best match: DecoratorTools 1.7 Downloading http://pypi.python.org/packages/2.5/D/DecoratorTools/DecoratorTools-1.7-py2.5.egg#md5=d205a59fc13405c8a2f1c355ee12a599 Processing DecoratorTools-1.7-py2.5.egg Moving DecoratorTools-1.7-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding DecoratorTools 1.7 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/DecoratorTools-1.7-py2.5.egg Searching for ConfigObj>=4.3.2 Reading http://pypi.python.org/simple/ConfigObj/ Reading http://www.voidspace.org.uk/python/configobj.html Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0beta5.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b4.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.1.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.2.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.1.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.2.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b3.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.5.3.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0b2.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.4.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.1.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.3.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.2.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.1.0.zip Reading http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj-4.0.2.zip Best match: configobj 4.5.3 Downloading http://pypi.python.org/packages/2.5/C/ConfigObj/configobj-4.5.3-py2.5.egg#md5=5e9ff60f5b4909572dcf37d16e22c473 Processing configobj-4.5.3-py2.5.egg Moving configobj-4.5.3-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding configobj 4.5.3 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/configobj-4.5.3-py2.5.egg Searching for CherryPy>=2.3.0,<3.0.0alpha Reading http://pypi.python.org/simple/CherryPy/ Reading http://www.cherrypy.org Reading http://download.cherrypy.org/cherrypy/2.3.0/ Reading http://download.cherrypy.org/cherrypy/3.0RC1/ Reading http://download.cherrypy.org/cherrypy/3.0.2/ Reading http://download.cherrypy.org/cherrypy/3.1beta/ Reading http://sourceforge.net/project/showfiles.php?group_id=56099 Reading http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload Reading http://download.cherrypy.org/cherrypy/3.0.1/ Reading http://download.cherrypy.org/cherrypy/3.1.0/ Reading http://download.cherrypy.org/cherrypy/3.0.0/ Reading http://download.cherrypy.org/cherrypy/2.2.1/ Reading http://download.cherrypy.org/cherrypy/3.1.0beta3/ Reading http://download.cherrypy.org/cherrypy/3.1.0rc1/ Reading http://download.cherrypy.org/cherrypy/3.0.3/ Best match: CherryPy 2.3.0 Downloading http://download.cherrypy.org/cherrypy/2.3.0/CherryPy-2.3.0.zip Processing CherryPy-2.3.0.zip Running CherryPy-2.3.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ms6mC6/CherryPy-2.3.0/egg-dist-tmp-rfLhVW zip_safe flag not set; analyzing archive contents... cherrypy.config: module references __file__ cherrypy.lib.autoreload: module references __file__ cherrypy.lib.covercp: module references __file__ cherrypy.lib.profiler: module references __file__ cherrypy.tutorial.tut09_files: module references __file__ cherrypy.tutorial.tut10_http_errors: module references __file__ cherrypy.test.benchmark: module references __file__ cherrypy.test.modpy: module references __file__ cherrypy.test.test: module references __file__ cherrypy.test.test_core: module references __file__ cherrypy.test.test_session_filter: module references __file__ cherrypy.test.test_static_filter: module references __file__ cherrypy.test.test_wsgiapp_filter: module references __file__ Adding CherryPy 2.3.0 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg Searching for kid>=0.9.6 Reading http://pypi.python.org/simple/kid/ Reading http://www.kid-templating.org/ Reading http://kid.lesscode.org/ Reading http://lesscode.org/projects/kid/ Reading http://kid-template.sourceforge.net/ Reading http://splice.sf.net/kid/ Reading http://prdownloads.sourceforge.net/splice/ Best match: kid 0.9.6 Downloading http://pypi.python.org/packages/2.5/k/kid/kid-0.9.6-py2.5.egg#md5=3fc089344a884e7fc954b239a32c649f Processing kid-0.9.6-py2.5.egg creating /usr/python252/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg Extracting kid-0.9.6-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding kid 0.9.6 to easy-install.pth file Installing kidc script to /usr/python252/bin Installing kid script to /usr/python252/bin Installed /usr/python252/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg Searching for Cheetah>=2.0.1 Reading http://pypi.python.org/simple/Cheetah/ Reading http://www.CheetahTemplate.org/ Reading http://sourceforge.net/project/showfiles.php?group_id=28961 Best match: Cheetah 2.0.1 Downloading http://files.turbogears.org/eggs/Cheetah-2.0.1-py2.5-linux-i686.egg Processing Cheetah-2.0.1-py2.5-linux-i686.egg creating /usr/python252/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg Extracting Cheetah-2.0.1-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages Adding Cheetah 2.0.1 to easy-install.pth file Installing cheetah-compile script to /usr/python252/bin Installing cheetah script to /usr/python252/bin Installed /usr/python252/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg Searching for Extremes>=1.1 Reading http://pypi.python.org/simple/Extremes/ Best match: Extremes 1.1 Downloading http://pypi.python.org/packages/2.5/E/Extremes/Extremes-1.1-py2.5.egg#md5=4015e2546295858558cca16faca5f34f Processing Extremes-1.1-py2.5.egg Moving Extremes-1.1-py2.5.egg to /usr/python252/lib/python2.5/site-packages Adding Extremes 1.1 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/Extremes-1.1-py2.5.egg Searching for PyProtocols>=1.0a0dev-r2302 Reading http://pypi.python.org/simple/PyProtocols/ Reading http://peak.telecommunity.com/PyProtocols.html Reading http://peak.telecommunity.com/dist/ Best match: PyProtocols 1.0a0dev-r2302 Downloading http://files.turbogears.org/eggs/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg Processing PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg Moving PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg to /usr/python252/lib/python2.5/site-packages Adding PyProtocols 1.0a0dev-r2302 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg Searching for PasteDeploy Reading http://pypi.python.org/simple/PasteDeploy/ Reading http://pythonpaste.org/deploy/ Reading http://pythonpaste.org/deploy/paste-deploy.html Best match: PasteDeploy 1.3.2 Downloading http://pypi.python.org/packages/source/P/PasteDeploy/PasteDeploy-1.3.2.tar.gz#md5=877fcf3fa025a65147fbae87e1765b65 Processing PasteDeploy-1.3.2.tar.gz Running PasteDeploy-1.3.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-SL6FQe/PasteDeploy-1.3.2/egg-dist-tmp-0ZwyIO warning: no files found matching 'docs/*.html' warning: no previously-included files found matching 'docs/rebuild' Adding PasteDeploy 1.3.2 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg Searching for Paste>=1.3 Reading http://pypi.python.org/simple/Paste/ Reading http://pythonpaste.org Best match: Paste 1.7.1 Downloading http://pypi.python.org/packages/source/P/Paste/Paste-1.7.1.tar.gz#md5=1c975cd645cd4aff86dab47c6d9059e1 Processing Paste-1.7.1.tar.gz Running Paste-1.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CY3Uka/Paste-1.7.1/egg-dist-tmp-0ay6jw Adding Paste 1.7.1 to easy-install.pth file Installed /usr/python252/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg Finished processing dependencies for TurboGears==1.0.7 至此说明安装基本成功,呵呵... 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2009-07-10
对于这个脚本要运行2次,第一次安装setuptools,第二次才安装turbogears
这个脚本安装的是 1.0.7 现在1.0.8已经出来了 官方已经放出2.0的版本出来了。。。 我在自己安装的小linux中已经安装成功 我的linux版本是 slackware9.0 , 这里在安装python2.5.2时会出现 引用 configure: error: installation or configuration problem: C compiler cannot create executables 问题, 我的一篇帖子已经讲了具体的解决方法 |
|
返回顶楼 | |
发表时间:2009-07-13
现在还真有用slackware的啊~
楼主都可以称的上熊猫了,嘿嘿 |
|
返回顶楼 | |
发表时间:2009-07-13
没有办法啊,slackware确实在学习linux上比任何其他的发行版都要来的爽快,那些配置文件看的让人很舒服,就和自己LFS差不多,而且性能也超级好。。。
作为服务器版本,个人感觉ubantu server版这个发行版相当的好用,而且官方对软件都是精挑细选,而且做了修改。。。,更新和维护都超级方便。。。 虽然我是非常讨厌ubantu 桌面版本,但是它的服务器版本我是很喜欢,呵呵 有句话不是说,自己能够完全掌控的东西才用的舒服么?而slackware就是这样的一个版本,让你完全的自由操纵。。。。 不同linux发行版有什么新旧之分呢?? 难不成现在在用UNIX的就是火星人??? 不同发行版的不同无非就是如下几点: 1. 选择的内核不同 2. 内核在编译时针对的用户群不同 3. 软件管理机制的不同,不如rpm,apt-get,dpkg,yum等 4. 选用的软件不同 何来新旧之分呢???? |
|
返回顶楼 | |
发表时间:2009-07-14
缺省安装turbogears时,数据库组件:
SQLAlchemy SQLObject 以及其它的数据库驱动,并未安装,需要手动安装 easy_install SQLAlchemy easy_install SQLObject 详见: http://docs.turbogears.org/1.0/Install |
|
返回顶楼 | |
发表时间:2009-07-14
引用 C:\Documents and Settings\Administrator>easy_install SQLObject Searching for SQLObject Reading http://pypi.python.org/simple/SQLObject/ Reading http://sqlobject.org/devel/ Reading http://sqlobject.org/ Reading http://sqlobject.org Best match: SQLObject 0.10.6 Downloading http://pypi.python.org/packages/2.5/S/SQLObject/SQLObject-0.10.6-py2 .5.egg#md5=9a2862acb71cde3d6d28a36d78233e65 Processing SQLObject-0.10.6-py2.5.egg creating e:\python25\lib\site-packages\SQLObject-0.10.6-py2.5.egg Extracting SQLObject-0.10.6-py2.5.egg to e:\python25\lib\site-packages Adding SQLObject 0.10.6 to easy-install.pth file Installing sqlobject-admin script to E:\Python25\Scripts Installed e:\python25\lib\site-packages\sqlobject-0.10.6-py2.5.egg Processing dependencies for SQLObject Finished processing dependencies for SQLObject 引用 C:\Documents and Settings\Administrator>easy_install SQLAlchemy Searching for SQLAlchemy Reading http://pypi.python.org/simple/SQLAlchemy/ Reading http://www.sqlalchemy.org Best match: SQLAlchemy 0.5.5 Downloading http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.5 .tar.gz#md5=6a518d2c16caf10bdbce85ad06e08abb Processing SQLAlchemy-0.5.5.tar.gz Running SQLAlchemy-0.5.5\setup.py -q bdist_egg --dist-dir c:\docume~1\admini~1\l ocals~1\temp\easy_install-iqgcnv\SQLAlchemy-0.5.5\egg-dist-tmp-bsjlu7 no previously-included directories found matching 'doc\build\output' zip_safe flag not set; analyzing archive contents... sqlalchemy.databases.mysql: module MAY be using inspect.stack sqlalchemy.test.orm: module MAY be using inspect.getframeinfo sqlalchemy.test.orm: module MAY be using inspect.stack Adding sqlalchemy 0.5.5 to easy-install.pth file Installed e:\python25\lib\site-packages\sqlalchemy-0.5.5-py2.5.egg Processing dependencies for SQLAlchemy Finished processing dependencies for SQLAlchemy |
|
返回顶楼 | |
发表时间:2009-07-14
vb2005xu 写道 没有办法啊,slackware确实在学习linux上比任何其他的发行版都要来的爽快,那些配置文件看的让人很舒服,就和自己LFS差不多,而且性能也超级好。。。
作为服务器版本,个人感觉ubantu server版这个发行版相当的好用,而且官方对软件都是精挑细选,而且做了修改。。。,更新和维护都超级方便。。。 虽然我是非常讨厌ubantu 桌面版本,但是它的服务器版本我是很喜欢,呵呵 有句话不是说,自己能够完全掌控的东西才用的舒服么?而slackware就是这样的一个版本,让你完全的自由操纵。。。。 不同linux发行版有什么新旧之分呢?? 难不成现在在用UNIX的就是火星人??? 不同发行版的不同无非就是如下几点: 1. 选择的内核不同 2. 内核在编译时针对的用户群不同 3. 软件管理机制的不同,不如rpm,apt-get,dpkg,yum等 4. 选用的软件不同 何来新旧之分呢???? 兄弟此言差矣, 我的意思是, slack现在使用率已经很低了.现在很火的是Arch和Gentoo.(定制型linux) 不知道slack是编译型系统还是二进制包型呢. |
|
返回顶楼 | |