Hi,

Dne 18.7.2012 08:46, skoczian napsal(a):
> Hello,
>
> I tried to install fdb 0.8.5, first using pip, then "python setup.py 
> install", but got both times the same exception:
>
>      Traceback (most recent call last):
>        File "<string>", line 14, in <module>
>        File "c:\Python32\Scripts\build\fdb\setup.py", line 7, in <module>
>          from fdb import __version__
>        File "fdb\__init__.py", line 23, in <module>
>          from fdb.fbcore import *
>        File "fdb\fbcore.py", line 26, in <module>
>          from . import ibase
>        File "fdb\ibase.py", line 39, in <module>
>          fb_library = WinDLL(fb_library_name)
>        File "C:\Python32\lib\ctypes\__init__.py", line 353, in __init__
>          self._handle = _dlopen(self._name, mode)
>      TypeError: bad argument type for built-in operation
>
> Windows 7 Home Premium, Firebird 2.5.1 (locally installed), Python 3.2.3

The error means that ctypes (standard Python module) can't open the 
Firebird client library. I think it's famous Win7 Unauthorized Access 
protection at fault here.

best regards
Pavel Cisar
IBPhoenix

Reply via email to