From admin at somelinguist.org Thu Oct 4 23:13:07 2018 From: admin at somelinguist.org (Kevin Cline) Date: Thu, 4 Oct 2018 16:13:07 -0500 Subject: [pybsddb] How to install bsddb3 6.2.6 Message-ID: Hi, I'm trying to use pip to install bsddb3 on Windows 10 with Python 3.7, but it fails with the following (see below). Could you please point me in the right direction? Thanks. Kevin ------------------------------------- E:\Code\dbxml_test $ pip install -U bsddb3 Collecting bsddb3 Using cached https://files.pythonhosted.org/packages/e9/fc/ebfbd4de236b493f9ece156f816c21df0ae87ccc22604c5f9b664efef1b9/bsdd Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\Kevin\AppData\Local\Temp\pip-install-0vb3muq5\bsddb3\setup.py", line 42, in import setup3 File "C:\Users\Kevin\AppData\Local\Temp\pip-install-0vb3muq5\bsddb3\setup3.py", line 385, in with open(os.path.join(incdir, 'db.h'), 'r') as f : FileNotFoundError: [Errno 2] No such file or directory: 'db/include\\db.h' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\Users\Kevin\AppData\Local\Temp\pip-install-0vb3muq5\bsddb3\ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcea at jcea.es Wed Oct 17 14:54:52 2018 From: jcea at jcea.es (Jesus Cea) Date: Wed, 17 Oct 2018 14:54:52 +0200 Subject: [pybsddb] How to install bsddb3 6.2.6 In-Reply-To: References: Message-ID: On 04/10/18 23:13, Kevin Cline wrote: > Hi, I'm trying to use pip to install bsddb3 on Windows 10 with Python > 3.7, but it fails with the following (see below). > > Could you please point me in the right direction? Sorry, Kevin. I would love to be able to provide Windows binaries, but I lack the resource to do it by myself. At least not without some kind of financial support or external help. Apparently you don't have Berkeley DB installed or, if you have it, pybsddb is unable to find it. Maybe the hardcoded "/" in the pathnames are the culprit. Your could try to replace the "/" by "\\". The steps would be: 1. Be sure you have berkeley DB installed. 2. Teach the python bindings how to find Berkeley DB. 3. Send me the patch!. Good luck. -- Jesús Cea Avión _/_/ _/_/_/ _/_/_/ jcea at jcea.es - http://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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: