Originally posted by: UGP1_Alan_Collins
Hi,
We are currently upgrading python from the toolbox from 2.7.13 level to 2.7.15. The module "bsddb" is required to be imported.
From 2.7.13-1 from the toolbox (works):
$ python
Python 2.7.13 (default, Oct 17 2017, 05:37:56) [C] on aix6
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb
>>>
After upgrade to 2.7.15-3 from the toolbox:
$ python
Python 2.7.15 (default, Jan 2 2019, 18:23:13)
[GCC 6.3.0] on aix6
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/freeware/lib/python2.7/bsddb/__init__.py", line 67, in <module>
import _bsddb
ImportError: No module named _bsddb
>>>
Comparing the versions, this looks to be the following being missing on 2.7.15-3 level in the toolbox:
/opt/freeware/lib/python2.7/lib-dynload/_bsddb.so
Copying this file from a 2.7.13 installation allows the module to import.
We have some applications that require this module, so this is currently breaking for us.
Could you please advise if this is as expected on the latest level or if there is a packaging issue?
Thanks,
Alan
#AIXOpenSource#AIX-Open-Source-Software