This looks like a psycopg issue. Mind that you need python 2.5 to run
web2py.

On Apr 25, 11:53 am, "wengfei2...@163.com" <wengfei2...@163.com>
wrote:
> [r...@localhost psycopg2-2.0.10]# python setup.py install
> running install
> running build
> running build_py
> running build_ext
> Traceback (most recent call last):
>   File "setup.py", line 410, in ?
>     ext_modules=ext)
>   File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.4/distutils/dist.py", line 946, in
> run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.4/distutils/dist.py", line 966, in
> run_command
>     cmd_obj.run()
>   File "/usr/lib/python2.4/distutils/command/install.py", line 506, in
> run
>     self.run_command('build')
>   File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python2.4/distutils/dist.py", line 966, in
> run_command
>     cmd_obj.run()
>   File "/usr/lib/python2.4/distutils/command/build.py", line 112, in
> run
>     self.run_command(cmd_name)
>   File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python2.4/distutils/dist.py", line 965, in
> run_command
>     cmd_obj.ensure_finalized()
>   File "/usr/lib/python2.4/distutils/cmd.py", line 117, in
> ensure_finalized
>     self.finalize_options()
>   File "setup.py", line 219, in finalize_options
>     except(Warning, w):
> NameError: global name 'w' is not defined
> [r...@localhost psycopg2-2.0.10]#
>
> [r...@localhost psycopg2-2.0.10]# python -V
> Python 2.4.3
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to