1

I am installing the fdb package on windows

This package

https://pypi.python.org/pypi/fdb

and i get this error

C:\fdb>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 7, in <module>
    from fdb import __version__
  File "C:\fdb\fdb\__init__.py", line 23, in <module>
    from fdb.fbcore import *
  File "C:\fdb\fdb\fbcore.py", line 26, in <module>
    from . import ibase
  File "C:\fdb\fdb\ibase.py", line 43, in <module>
    fb_library = WinDLL(fb_library_name)
  File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
TypeError: expected string or Unicode object, NoneType found

Has anyone encountered this error before?.I have the python driver for firebird installed and also the python driver.

4

1 回答 1

3

我解决了。安装好Firebird超级服务器后,复制fbclient.dll(C:\Program Files\Firebird\Firebird_2_5\bin下),粘贴到C:\WINDOWS下

如果您的问题仍然存在,我在 Yahoo 上的 firebird-python 邮件列表中发现了一个 hack:Re: Again: can't install fdb

于 2013-04-26T14:24:03.590 回答