Compiling python 2.5 on OS X 10.4.8 with bsddb support

Y

Yi Qiang

Hi guys,
I am trying to compile python 2.5 on my OSX machine so it includes the
bsddb module. Currently, when I type 'import bsddb' I get the
following traceback:

/Users/yi/Software/sage-1.4.1.2/local/lib/python2.5/bsddb/__init__.py
in <module>()
49 from bsddb3.dbutils import DeadlockWrap as _DeadlockWrap
50 else:
---> 51 import _bsddb
52 from bsddb.dbutils import DeadlockWrap as _DeadlockWrap
53 except ImportError:

<type 'exceptions.ImportError'>: No module named _bsddb

I have the db3 and db4 packages installed from macports. What else
must I do to get this working?

Thanks,
Yi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top