title: Problem opening berkeley db in python
body: <p>I have problems opening a berkeley db in python using bdtables. As bdtables is used by the library I am using to access the database, I need it to work.</p>
  
  <p>The problem seems to be that the db environment I am trying to open (I got a copy of the database to open), is version 4.4 while libdb is version 4.6. I get the following error using bsddb.dbtables.bsdTableDB([dbname],[folder]):</p>
  
  <pre><code>(-30972, "DB_VERSION_MISMATCH: Database environment version mismatch -- Program version 4.6 doesn't match environment version 4.4")
  </code></pre>
  
  <p>However, bsddb.btopen([dbname]) works.</p>
  
  <p>I have also tried installing db4.4-util, db4.5-util and db4.6-util. Trying to use db4.6_verify results in:</p>
  
  <pre><code>db4.6_verify: Program version 4.6 doesn't match environment version 4.4
  db4.6_verify: DB_ENV-&gt;open: DB_VERSION_MISMATCH: Database environment version mismatchs
  </code></pre>
  
  <p>db4.4_verify results in the computer just hanging, and nothing happening.</p>
  
  <p>Finally, if I run db4.4_recover on the database, that works. However, afterwards I get the following error 'No such file or directory' in python.</p>