Re: Help me in error of importing psycopg2 in python

Vu Hong Thuan <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Here is my error, anyone help me

Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python26\lib\site-packages\psycopg2\__init__.py", line 60, in
<module
>
    from _psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: DLL load failed: The specified procedure could not be found.
>>> import psycopg2
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python26\lib\site-packages\psycopg2\__init__.py", line 55, in
<module
>
    from psycopg2 import tz
ImportError: cannot import name tz


2009/8/27 Vu Hong Thuan <[email protected]>

> I've test in postgres 8.3, 8.2, I get the same error,
>
> 2009/8/27 Vu Hong Thuan <[email protected]>
>
> Yes, Postgres 8.4,
>> Have you ever get this error when using psycopg2 ?
>>
>> 2009/8/27 Karsten Hilbert <[email protected]>
>>
>> On Thu, Aug 27, 2009 at 04:47:31PM +0700, Vu Hong Thuan wrote:
>>>
>>> > I've installed python 2.6.2 on windows and Postgres 4.0
>>>
>>> Certainly not. 8.4, perhaps ?
>>>
>>> Karsten
>>> --
>>> GPG key ID E4071346 @ wwwkeys.pgp.net
>>> E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346
>>> _______________________________________________
>>> Psycopg mailing list
>>> Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
>>> http://lists.initd.org/mailman/listinfo/psycopg
>>>
>>
>>
>

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.