Ed Valentine schrieb:
> I am a newbie with TurboGears and am trying to setup a prototype
> application with 2.0.
> I have been able to install and run tutorials with 2.0b6 and
> PostgreSQL on this machine.
> 
> I am trying to setup a new environment and want to use PostgreSQL. Am
> getting the following:
> 
> (LossPro)[r...@centossrv1 LossPro2]# easy_install -U psycopg2
> Searching for psycopg2
> Reading http://www.pylonshq.com/download/
> Reading http://pypi.python.org/simple/psycopg2/
> Reading http://initd.org/projects/psycopg2
> Reading http://initd.org/pub/software/psycopg/
> Best match: psycopg2 2.0.9
> Downloading http://initd.org/pub/software/psycopg/psycopg2-2.0.9.tar.gz
> Processing psycopg2-2.0.9.tar.gz
> Running psycopg2-2.0.9/setup.py -q bdist_egg --dist-dir /tmp/
> easy_install-9TmhDP/psycopg2-2.0.9/egg-dist-tmp-GBpFV2
> error: Setup script exited with error: No such file or directory
> (LossPro)[r...@centossrv1 LossPro2]#
> 

This has nothing todo with TG2.

Install psycopg using your distribution's package manager. Or if you 
insist on compiling, you need to make sure

  - you have everything to built C-modules (GCC, python-devel-package..)
  - you have postgres devel packages installed


Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to