<div>Pomohlo by nainstalovat to odtud?</div><div><br></div><a href="http://www.stickpeople.com/projects/python/win-psycopg/">http://www.stickpeople.com/projects/python/win-psycopg/</a><div><br></div><div>(Tento odkaz je na <a href="http://initd.org/psycopg/">http://initd.org/psycopg/</a> vpravo v Quick links "Windows Download".)</div>
<div><div><br></div><div>Petr Messner</div><div><br><br><div class="gmail_quote">2012/8/29 Ondrej Beranek <span dir="ltr"><<a href="mailto:rainbof@gmail.com" target="_blank">rainbof@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ahoj,<br>
<br>
potřeboval bych pro pár menších skriptů podporu postgresql jen<br>
jednoduche inserty a selecty. Mam ale pozadavek na to aby mi pak<br>
skript behal ve windows (kde vyvjim) i na linuxu (kde pak pojede).<br>
jako python momentalne pouzivam portable python 3.3.1 kam mi psycopg<br>
nesel nainstalovat a skoncilo to chybou o tom ze vyzaduje jeste<br>
"headers and libraries" nejde to nejak jednoduse bez toho ?<br>
<br>
<br>
chyby:<br>
<br>
......\python setup.py --verbose install<br>
<br>
<br>
running install<br>
running build<br>
running build_py<br>
not copying lib\errorcodes.py (output up-to-date)<br>
not copying lib\extensions.py (output up-to-date)<br>
not copying lib\extras.py (output up-to-date)<br>
not copying lib\pool.py (output up-to-date)<br>
not copying lib\psycopg1.py (output up-to-date)<br>
not copying lib\tz.py (output up-to-date)<br>
not copying lib\__init__.py (output up-to-date)<br>
not copying tests\dbapi20.py (output up-to-date)<br>
not copying tests\dbapi20_tpc.py (output up-to-date)<br>
not copying tests\testconfig.py (output up-to-date)<br>
not copying tests\testutils.py (output up-to-date)<br>
not copying tests\test_async.py (output up-to-date)<br>
not copying tests\test_bugX000.py (output up-to-date)<br>
not copying tests\test_bug_gc.py (output up-to-date)<br>
not copying tests\test_cancel.py (output up-to-date)<br>
not copying tests\test_connection.py (output up-to-date)<br>
not copying tests\test_copy.py (output up-to-date)<br>
not copying tests\test_cursor.py (output up-to-date)<br>
not copying tests\test_dates.py (output up-to-date)<br>
not copying tests\test_extras_dictcursor.py (output up-to-date)<br>
not copying tests\test_green.py (output up-to-date)<br>
not copying tests\test_lobject.py (output up-to-date)<br>
not copying tests\test_module.py (output up-to-date)<br>
not copying tests\test_notify.py (output up-to-date)<br>
not copying tests\test_psycopg2_dbapi20.py (output up-to-date)<br>
not copying tests\test_quote.py (output up-to-date)<br>
not copying tests\test_transaction.py (output up-to-date)<br>
not copying tests\test_types_basic.py (output up-to-date)<br>
not copying tests\test_types_extras.py (output up-to-date)<br>
not copying tests\__init__.py (output up-to-date)<br>
running build_ext<br>
Error: pg_config executable not found.<br>
<br>
Please add the directory containing pg_config to the PATH<br>
or specify the full executable path with the option:<br>
<br>
python setup.py build_ext --pg-config /path/to/pg_config build ...<br>
<br>
or with the pg_config option in 'setup.cfg'.<br>
_______________________________________________<br>
Python mailing list<br>
<a href="mailto:Python@py.cz">Python@py.cz</a><br>
<a href="http://www.py.cz/mailman/listinfo/python" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
</blockquote></div><br></div></div>