Tuesday, October 12, 2010

installing turbo gears on ubuntu

http://www.turbogears.org/2.0/docs/main/DownloadInstall.html


wget http://www.turbogears.org/2.0/downloads/current/tg2-bootstrap.py
--2010-10-12 20:29:11-- http://www.turbogears.org/2.0/downloads/current/tg2-bootstrap.py
Resolving www.turbogears.org... 67.15.84.19
Connecting to www.turbogears.org|67.15.84.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55083 (54K) [text/plain]
Saving to: `tg2-bootstrap.py'

100%[======================================>] 55,083 32.1K/s in 1.7s

2010-10-12 20:29:14 (32.1 KB/s) - `tg2-bootstrap.py' saved [55083/55083]

foldername@foldername-desktop:~$ python tg2-bootstrap.py --no-site-packages tg2env
New python executable in tg2env/bin/python
Installing setuptools............................done.
Installing turbogears....
Running command....
tg2env/bin/easy_install -i http://www.turbogears.org/2.0/downloads/current/index tg.devtools
Searching for tg.devtools
Reading http://www.turbogears.org/2.0/downloads/current/index/tg.devtools/
Best match: tg.devtools 2.0.2
Downloading http://www.turbogears.org/2.0/downloads/current/tg.devtools-2.0.2.tar.gz
Processing tg.devtools-2.0.2.tar.gz
Running tg.devtools-2.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BsihXb/tg.devtools-2.0.2/egg-dist-tmp-E3sJAV
Adding tg.devtools 2.0.2 to easy-install.pth file

Installed /home/foldername/tg2env/lib/python2.6/site-packages/tg.devtools-2.0.2-py2.6.egg
Processing dependencies for tg.devtools
Searching for repoze.who>=1.0.10
Reading http://www.turbogears.org/2.0/downloads/current/index/repoze.who/
Best match: repoze.who 1.0.15
Downloading http://www.turbogears.org/2.0/downloads/current/repoze.who-1.0.15.tar.gz
Processing repoze.who-1.0.15.tar.gz
Running repoze.who-1.0.15/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ptyaJ3/repoze.who-1.0.15/egg-dist-tmp-cxHHl0
Adding repoze.who 1.0.15 to easy-install.pth file

Installed /home/foldername/tg2env/lib/python2.6/site-packages/repoze.who-1.0.15-py2.6.egg
Searching for repoze.what-quickstart>=1.0
Reading http://www.turbogears.org/2.0/downloads/current/index/repoze.what-quickstart/
Best match: repoze.what-quickstart 1.0
Downloading http://www.turbogears.org/2.0/downloads/current/repoze.what-quickstart-1.0.tar.gz
Processing repoze.what-quickstart-1.0.tar.gz
Running repoze.what-quickstart-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-yWZLxV/repoze.what-quickstart-1.0/egg-dist-tmp-zAcLI_
no previously-included directories found matching 'docs/build'
warning: no previously-included files matching '*' found under directory 'tests'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.egg' found anywhere in distribution
warning: no previously-included files matching '.directory' found anywhere in distribution
Adding repoze.what-quickstart 1.0 to easy-install.pth file

Installed /home/foldername/tg2env/lib/python2.6/site-packages/repoze.what_quickstart-1.0-py2.6.egg
Searching for SQLAlchemy>=0.5
Reading http://www.turbogears.org/2.0/downloads/current/index/SQLAlchemy/
Best match: SQLAlchemy 0.5.1
Downloading http://www.turbogears.org/2.0/downloads/current/SQLAlchemy-0.5.1.tar.gz
Processing SQLAlchemy-0.5.1.tar.gz
Running SQLAlchemy-0.5.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Qp8Xcv/SQLAlchemy-0.5.1/egg-dist-tmp-rJLxbD
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
Adding SQLAlchemy 0.5.1 to easy-install.pth file

Installed /home/foldername/tg2env/lib/python2.6/site-packages/SQLAlchemy-0.5.1-py2.6.egg
Searching for sqlalchemy-migrate>=0.5.1
Reading http://www.turbogears.org/2.0/downloads/current/index/sqlalchemy-migrate/
Best match: sqlalchemy-migrate 0.5.2
Downloading http://www.turbogears.org/2.0/downloads/current/sqlalchemy-migrate-0.5.2.tar.gz
Processing sqlalchemy-migrate-0.5.2.tar.gz
Running sqlalchemy-migrate-0.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-7V1L01/sqlalchemy-migrate-0.5.2/egg-dist-tmp-Pb_t9g
zip_safe flag not set; analyzing archive contents...
migrate.versioning.api: module MAY be using inspect.getsource
Adding sqlalchemy-migrate 0.5.2 to easy-install.pth file
Installing migrate script to /home/foldername/tg2env/bin
Installing migrate-repository script to /home/foldername/tg2env/bin

Installed /home/foldername/tg2env/lib/python2.6/site-packages/sqlalchemy_migrate-0.5.2-py2.6.egg
Searching for TurboGears2>=2.0.2
Reading http://www.turbogears.org/2.0/downloads/current/index/TurboGears2/
Best match: TurboGears2 2.0.3
Downloading http://www.turbogears.org/2.0/downloads/current/TurboGears2-2.0.3.tar.gz
Processing TurboGears2-2.0.3.tar.gz
Running TurboGears2-2.0.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-V1mEKi/TurboGears2-2.0.3/egg-dist-tmp-9WBVdw
Adding TurboGears2 2.0.3 to easy-install.pth file

Installed /home/foldername/tg2env/lib/python2.6/site-packages/TurboGears2-2.0.3-py2.6.egg
Searching for zope.interface
Reading http://www.turbogears.org/2.0/downloads/current/index/zope.interface/
Best match: zope.interface 3.4.1
Downloading http://www.turbogears.org/2.0/downloads/current/zope.interface-3.4.1.tar.gz
Processing zope.interface-3.4.1.tar.gz
Running zope.interface-3.4.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-UQNfCO/zope.interface-3.4.1/egg-dist-tmp-QvlnLc
Traceback (most recent call last):
File "tg2env/bin/easy_install", line 8, in
load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1671, in main
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1675, in
File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 211, in run
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 446, in easy_install
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 478, in install_item
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 519, in process_distribution
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 522, in resolve
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 758, in best_match
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 770, in obtain
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 446, in easy_install
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 476, in install_item
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 655, in install_eggs
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 930, in build_and_install
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 919, in run_setup
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 27, in run_setup
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 63, in run
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 29, in
File "setup.py", line 85, in

File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", line 174, in run
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/bdist_egg.py", line 161, in call_command
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/install_lib.py", line 20, in run
File "/usr/lib/python2.6/distutils/command/install_lib.py", line 115, in build
self.run_command('build_ext')
File "/usr/lib/python2.6/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 46, in run
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 449, in build_extensions
self.build_extension(ext)
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 175, in build_extension
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension
ext_path = self.get_ext_fullpath(ext.name)
File "/usr/lib/python2.6/distutils/command/build_ext.py", line 637, in get_ext_fullpath
filename = self.get_ext_filename(ext_name)
File "/home/foldername/tg2env/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/build_ext.py", line 85, in get_ext_filename
KeyError: '_zope_interface_coptimizations'

No comments:

Post a Comment