title: import error in Python PDFtables
body: <p>I got  an import error when tyring to use <a href="https://pypi.python.org/pypi/pdftables" rel="nofollow">PDFtables</a>. I'm using python 2.7. </p>
  
  <pre><code> from  pdftables.pdf_document import *
  </code></pre>
  
  <p>here is the error I get:</p>
  
  <pre><code>/usr/lib/python2.7/site-packages/pdftables/__init__.py in &lt;module&gt;()
  ----&gt; 1 from pdftables import *
  
  /usr/lib/python2.7/site-packages/pdftables/pdftables.py in &lt;module&gt;()
       22 import codecs
       23 
  ---&gt; 24 from pdfminer.pdfparser import PDFParser, PDFDocument
       25 from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter
       26 from pdfminer.pdfdevice import PDFDevice
  
  ImportError: cannot import name PDFDocument
  </code></pre>
  
  <p>Yet when I try,</p>
  
  <pre><code>from pdfminer.pdfparser import *
  </code></pre>
  
  <p>everything goes fine.</p>
  
  <p><strong>Update 1</strong></p>
  
  <p>I'm trying to reproduce the example from the documentation of <a href="https://pdftables.readthedocs.org/en/latest/" rel="nofollow">PDFtables</a>.
  Yet it is the PDFtables 0.0.3 and I'm using PDFtable 0.0.4. I could not get my cursor on the latest documentation. May be the best way is to use the PDFtables 0.03 ?</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>I uninstalled PDFtables 0.04 for the PDFtables 0.03 and it turns out that PDFtables 0.03 produces the same error.</p>
  
  <p>** Update 3 ** </p>
  
  <p>Based on the lead below I came the of conclusion that the issue might come from pdf miner.
  from the <a href="http://www.unixuser.org/~euske/python/pdfminer/" rel="nofollow">doc</a>, it seems that</p>
  
  <p>PDFDocument class is moved to pdfdocument.py. </p>
  
  <p>can anyone confirm ?</p>
  
  <p>any idea around this problem?</p>