Skip site navigation (1) Skip section navigation (2)

cannot install psycopg2

From: Peter Irbizon <peterirbizon(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: cannot install psycopg2
Date: 2012-01-01 19:40:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg
hello,please help, I am trying to install psycopg on winXP Pro with Python
2.7 but the following errors occured: What am I doing wrong?

C:\Python_ext\psycopg2-2.4.4>python install
running install
running build
running build_py
running build_ext
building 'psycopg2._psycopg' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall
SION=\"2.4.4 (dt dec pq3 ext)\"" -DPG_VERSION_HEX=0x090102
EW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -IC:\Python27\include -IC:\Python27\PC -I.
GR~1/9.1/include -IC:/PROGRA~1/POSTGR~1/9.1/include/server -c
psycopg\psycopgmodule.c -o buil
d\temp.win32-2.7\Release\psycopg\psycopgmodule.o -O3 -fno-strict-aliasing
cc1.exe: error: unrecognized command line option '-mno-cygwin'
error: command 'gcc' failed with exit status 1


psycopg by date

Next:From: Adrian KlaverDate: 2012-01-01 19:48:32
Subject: Re: cannot install psycopg2
Previous:From: Jan UrbaƄskiDate: 2011-12-28 12:39:32
Subject: Re: psycopg2.connect change from a C function to module method

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group