Hi, wengfei. I had the same error message trying to install psycopg2 using easy_install. I'm using Ubuntu 8.04.
I tried to install some packages, as libpq-dev recommended by Marek, but other packages were necessary. Then I installed psycopg2 using apt-get: $ sudo apt-get install python-psycopg2 The following extra packages were installed: python-egenix-mxdatetime and python-egenix-mxtools. It seems you need discover what is missing on your operating system (I don't know how to do find) for using psycopg2 and install it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

