installation error with ez setup

4 views
Skip to first unread message

balachandar

unread,
Jun 12, 2006, 4:40:23 AM6/12/06
to TurboGears
[root@localhost framework]# python ez_setup.py -f
http://www.turbogears.org/download/index.html --script-dir
/usr/local/bin TurboGears
Searching for TurboGears
Reading http://www.turbogears.org/download/index.html
Best match: TurboGears 0.8.9
Downloading
http://www.turbogears.org/download/eggs/TurboGears-0.8.9.tar.gz
Processing TurboGears-0.8.9.tar.gz
Running TurboGears-0.8.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-jFgtTh/TurboGears-0.8.9/egg-dist-tmp-ox8k2F
File
"build/bdist.linux-i686/egg/turbogears/tests/test_controllers.py", line
11
@turbogears.expose()
^
SyntaxError: invalid syntax
File
"/usr/lib/python2.3/site-packages/TurboGears-0.8.9-py2.3.egg/turbogears/tests/test_controllers.py",
line 11
@turbogears.expose()
^
SyntaxError: invalid syntax
Adding TurboGears 0.8.9 to easy-install.pth file
Installing tg-admin script to /usr/local/bin

Installed /usr/lib/python2.3/site-packages/TurboGears-0.8.9-py2.3.egg
Processing dependencies for TurboGears
Searching for TestGears>=0.2
Reading http://www.python.org/pypi/TestGears/
Reading http://www.turbogears.org/testgears/
Best match: TestGears 0.2
Downloading http://www.turbogears.org/TestGears-0.2.tar.gz
error: Can't download http://www.turbogears.org/TestGears-0.2.tar.gz:
404 Not Found

Jorge Vargas

unread,
Jun 12, 2006, 2:15:22 PM6/12/06
to turbo...@googlegroups.com
On 6/12/06, balachandar <mbch...@gmail.com> wrote:

[root@localhost framework]# python ez_setup.py -f
http://www.turbogears.org/download/index.html --script-dir
/usr/local/bin TurboGears
Searching for TurboGears
Reading http://www.turbogears.org/download/index.html
Best match: TurboGears 0.8.9
Downloading
http://www.turbogears.org/download/eggs/TurboGears-0.8.9.tar.gz
Processing TurboGears-0.8.9.tar.gz
Running TurboGears-0.8.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-jFgtTh/TurboGears-0.8.9/egg-dist-tmp-ox8k2F
  File
"build/bdist.linux-i686/egg/turbogears/tests/test_controllers.py", line
11
    @turbogears.expose()
    ^
SyntaxError: invalid syntax
  File
"/usr/lib/python2.3/site-packages/TurboGears- 0.8.9-py2.3.egg/turbogears/tests/test_controllers.py",

line 11
    @turbogears.expose()
    ^
SyntaxError: invalid syntax

I see ur using 2.3 that decorator syntax was not present in 2.3... so that's weird.

Adding TurboGears 0.8.9 to easy-install.pth file
Installing tg-admin script to /usr/local/bin

Installed /usr/lib/python2.3/site-packages/TurboGears-0.8.9-py2.3.egg
Processing dependencies for TurboGears
Searching for TestGears>=0.2
Reading http://www.python.org/pypi/TestGears/
Reading http://www.turbogears.org/testgears/
Best match: TestGears 0.2
Downloading http://www.turbogears.org/TestGears-0.2.tar.gz
error: Can't download http://www.turbogears.org/TestGears-0.2.tar.gz:
404 Not Found

the url in pipy is wrong, Kevin will have to fix this.

either way TestGears is deprecated in favor or nose, and you should really try out the alpha's instead of the old 0.8 :) LOTS of stuff is new and some stuff have change and it will be a good idea to learn tg with all the new stuff, since 0.9 is the code that is going to be 1.0
Reply all
Reply to author
Forward
0 new messages