[pybsddb] How to install BSDDB on Windows 7 with Python 3.x?

Sasha sonyachiko at yahoo.co.jp
Sat Jun 8 11:27:45 CEST 2013


Hello, Ryan!

I have checked the instruction in your link.
I says I need to use Visual Studio 2012 for this.

I don't have it and I am not going to buy it just to try Berkeley DB.

Is there any other way to install Berkeley DB on Windows?

Thank you

Sasha

2013/6/8 Ryan Olf <ryan at efrus.com>:
> Sasha,
>
> I sent out this gist containing patches and instructions for installing on
> Windows (not sure about python 3.0, though.
>
> https://gist.github.com/ryanolf/5529070
>
> JCEA - it would be nice if these instructions/patches were incorporated into
> the release.
>
> Ryan
>
>
> On Fri, Jun 7, 2013 at 5:32 AM, Sasha <sonyachiko at yahoo.co.jp> wrote:
>>
>> Hello!
>>
>> I have never used Berkeley DB before, but I would like to try.
>>
>> I am having problems installing it to use with Python 3.x.
>>
>> When I run "setup.py" I get the following error:
>>
>> C:\Users\3X\Desktop\bsddb3-5.3.0>python setup.py
>> Traceback (most recent call last):
>> File "setup.py", line 7, in <module>
>> import setup3
>> File "C:\Users\3X\Desktop\bsddb3-5.3.0\setup3.py", line 322, in <module>
>> db_h_lines = open(os.path.join(incdir, 'db.h'), 'r').readlines()
>> FileNotFoundError: [Errno 2] No such file or directory: 'db/include
>> db.h'
>>
>> I am using Windows 7 x64, Python 3.3.2.
>>
>> Any ideas?
>>
>> Thank you
>> _______________________________________________
>> pybsddb mailing list
>> pybsddb at jcea.es
>> https://mailman.jcea.es/listinfo/pybsddb
>> http://www.jcea.es/programacion/pybsddb.htm
>
>
>
> _______________________________________________
> pybsddb mailing list
> pybsddb at jcea.es
> https://mailman.jcea.es/listinfo/pybsddb
> http://www.jcea.es/programacion/pybsddb.htm


More information about the pybsddb mailing list