title: PyMuPDF: AttributeError: module 'fitz' has no attribute 'open'
body: <p><code>pip3 install PyMuPDF</code></p>
  <pre><code>Collecting PyMuPDF Using cached PyMuPDF-1.18.17-cp37-cp37m-win_amd64.whl (5.4 MB)
  Installing collected packages: PyMuPDF
  Successfully installed PyMuPDF-1.18.17
  </code></pre>
  <pre><code>import fitz
  doc = fitz.open(&quot;my_pdf.pdf&quot;)
  </code></pre>
  <p>When I look for <code>def open</code> on the <code>fitz.py</code> file, I find nothing.
  So I understand the error But I don't understand why the file that I download doesn't have this function ? Can someone share the good files please ? Or maybe I missed something else ?</p>
  <p>FULL TRACE:</p>
  <pre><code>runfile('D:/Documents/Python_projects/Point_and_area_pdf_to_excel/get_info.py', wdir='D:/Documents/Python_projects/Point_and_area_pdf_to_excel')
  Reloaded modules: six, dateutil._common, dateutil.relativedelta, dateutil.tz._common, dateutil.tz._factories, dateutil.tz.win, dateutil.tz.tz, dateutil.tz, dateutil.parser._parser, dateutil.parser.isoparser, dateutil.parser, chardet.enums, chardet.charsetprober, chardet.charsetgroupprober, chardet.codingstatemachine, chardet.escsm, chardet.escprober, chardet.latin1prober, chardet.mbcssm, chardet.utf8prober, chardet.mbcharsetprober, chardet.euctwfreq, chardet.euckrfreq, chardet.gb2312freq, chardet.big5freq, chardet.jisfreq, chardet.chardistribution, chardet.jpcntx, chardet.sjisprober, chardet.eucjpprober, chardet.gb2312prober, chardet.euckrprober, chardet.cp949prober, chardet.big5prober, chardet.euctwprober, chardet.mbcsgroupprober, chardet.hebrewprober, chardet.sbcharsetprober, chardet.langbulgarianmodel, chardet.langgreekmodel, chardet.langhebrewmodel, chardet.langrussianmodel, chardet.langthaimodel, chardet.langturkishmodel, chardet.sbcsgroupprober, chardet.universaldetector, chardet.version, chardet
  Traceback (most recent call last):
  
    File &quot;D:\Documents\Python_projects\Point_and_area_pdf_to_excel\get_info.py&quot;, line 45, in &lt;module&gt;
      print(get_dict_list(path))
  
    File &quot;D:\Documents\Python_projects\Point_and_area_pdf_to_excel\get_info.py&quot;, line 7, in get_dict_list
      text_list = get_pdf_page_text_list(pdf_path)
  
    File &quot;D:\Documents\Python_projects\Point_and_area_pdf_to_excel\get_info.py&quot;, line 19, in get_pdf_page_text_list
      doc = fitz.open(pdf_path)
  
  AttributeError: module 'fitz' has no attribute 'open'
  </code></pre>