------=_Part_13612_27920781.1119596691948
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Ruby,
to my heat-challenged ears and eyes this message looks as if the python=20
server side scripting "python" is built for python 2.3; and your installed=
=20
python is 2.4
So... I recommend installing python 2.3 and try again.
Harald
2005/6/23, Ruby Murillo <rmurillo (AT) vistagen-inc (DOT) com>:
Quote:
=20
Hi,
=20
We keep getting this message:
=20
import pgdb
=20
/usr/local/lib/python2.4/site-packsges/pgdb.py:56: RuntimeWarning: Python=
=20
C API version mismatch for module _pg: This Python has API version 1012,
=20
module _pg has version 1011
=20
import pg
=20
/usr/local/lib/python2.4/site-packsges/pgdb.py:8: RuntimeWarning: Python =
C=20
API version mismatch for module _pg: This Python has API version 1012,
=20
module _pg has version 1011
=20
I have installed Postgres 3 years from RPM and just included python(2.2)=
=20
in the installation. This time I need to use python but then I keep getti=
ng=20
this
=20
Warning/error message.
=20
Please let me know if this is a bug or is this just a warning. I=20
currently have postgres and being access by my perl appl and don't want t=
o=20
mess with it.
=20
So if you could guide me on how I could make my python up-to-date to the=
=20
API, that would be great.
=20
Thanks,
=20
Ruby=20
=20
=20 |
--=20
GHUM Harald Massa
persuasion python postgresql
Harald Armin Massa
Reinsburgstra=DFe 202b
70197 Stuttgart
0173/9409607
------=_Part_13612_27920781.1119596691948
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Ruby,<br>
<br>
to my heat-challenged ears and eyes this message looks as if the python
server side scripting "python" is built for python 2.3; and your
installed python is 2.4<br>
<br>
So... I recommend installing python 2.3 and try again.<br>
<br>
Harald<br><br><div><span class=3D"gmail_quote">2005/6/23, Ruby Murillo <=
<a href=3D"mailto:rmurillo (AT) vistagen-inc (DOT) com">rmurillo (AT) vistagen-inc (DOT) com</a>&=
gt;:</span><blockquote class=3D"gmail_quote" style=3D"border-left: 1px soli=
d rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">Hi,</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> We keep getting this message:</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> import pgdb</span></font>=
</p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">
/usr/local/lib/python2.4/site-packsges/pgdb.py:56: RuntimeWarning: Python C=
API
version mismatch for module _pg: This Python has API version 1012,</span></=
font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> module _pg has version
1011</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> import pg</span></font></=
p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">
/usr/local/lib/python2.4/site-packsges/pgdb.py:8: RuntimeWarning: Python C =
API
version mismatch for module _pg: This Python has API version 1012,</span></=
font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> module _pg has version
1011</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> I have installed Postgres 3
years from RPM and just included python(2.2) in the installation. Thi=
s
time I need to use python but then I keep getting this</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">Warning/error message.</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> Please let me know if this is
a bug or is this just a warning. I currently have postgres and being access=
by
my perl appl and don't want to mess with it.</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">So if you could guide me on how I could make my python
up-to-date to the API, that would be great.</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">Thanks,</span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;">Ruby </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
<p><font face=3D"Arial" size=3D"2"><span style=3D"font-size: 10pt; font-fam=
ily: Arial;"> </span></font></p>
</div>
</blockquote></div><br><br><br>-- <br>GHUM Harald Massa<br>persuasion pytho=
n postgresql<br>Harald Armin Massa<br>Reinsburgstra=DFe 202b<br>70197 Stutt=
gart<br>0173/9409607
------=_Part_13612_27920781.1119596691948--