[pybsddb] Error message when install Berkeley DB Please help.

Jesus Cea jcea at jcea.es
Wed Jun 19 15:49:51 CEST 2024


On 27/4/24 23:20, Decao Yin wrote:
> I understand.
> 
> This issue was raised as early as 2013: 
> https://forums.oracle.com/ords/apexds/post/how-to-install-berkeley-db-to-use-with-python-3-8313 <https://forums.oracle.com/ords/apexds/post/how-to-install-berkeley-db-to-use-with-python-3-8313>
> 
> And others also struggled two years ago with exactly the same problem: 
> https://stackoverflow.com/questions/70871193/python-cannot-install-package-berkeleydb-filenotfounderror-on-getting-requireme <https://stackoverflow.com/questions/70871193/python-cannot-install-package-berkeleydb-filenotfounderror-on-getting-requireme>
> 
> So I'm not the only one, neither the first one struggles, maybe it is 
> too difficult to solve, or windows users are out, anyway.
> 
> In the website: https://pypi.org/project/berkeleydb/ 
> <https://pypi.org/project/berkeleydb/>, it says 'OS independent' under 
> the operation system.
> I suggest changing it to 'excluding windows' or similar to avoid 
> confusion before this issue is solved.
> 
> Thank you for your work and kind support. I really hope someday this 
> package could be installed in windows OS, so I can feel its beauty.

I just published berkeleydb 18.1.9 yesterday. In the changelog I wrote:

"""
   - This code can be compiled under MS Windows, but I am unable to
     provide support for it and it is far from trivial. Because of
     this and some complains about it, I change the "Classifiers"
     for this project from

       'Operating System :: OS Independent'

     to

       'Operating System :: Unix'

     I would restore MS Windows support if there is some kind of
     community support for it. I can not do it by myself alone.
     Sorry about that.
"""

Berkeleydb 18.1.9, if you compile it under Python 3.10 or higher, uses a 
stable ABI that allows the binary library to be created once and to be 
usable for Python 3.10 and up with no recompilation at all. This would 
allow to distribute a binary package able to run on any modern Python 
version, included future Python releases.

I think this would be a huge step forward... if someone from MS Windows 
world expert enough in compilation issues could donate some spare time.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - https://www.jcea.es/    _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz


More information about the pybsddb mailing list