[pybsddb] another bug in py-bsddb3-5.1.1 ?

wen heping wenheping at gmail.com
Mon Mar 7 16:13:12 CET 2011


Hi,

   Now py-bsddb3-5.1.1 could not build with python-2.7:


wen# python setup.py install
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import setup2
  File "/usr/local/tinderbox/portstrees/FreeBSD/ports/databases/py-bsddb3/work/bsddb3-5.1.1/setup2.py",
line 39, in <module>
    import bsddb  # Import the 2.7 version, that uses CObject
  File "/usr/local/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
ImportError: No module named _bsddb


if I remove the line "import _bsddb" in setup2.py, all is OK.



Regards,
wen


More information about the pybsddb mailing list