[MacPorts] #71390: py39-mupdf @1.24.2 missing pymupdf library

MacPorts noreply at macports.org
Mon Nov 25 11:28:50 UTC 2024


#71390: py39-mupdf @1.24.2 missing pymupdf library
--------------------------+------------------------
 Reporter:  WatadaShingo  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  py39-mupdf
--------------------------+------------------------
 After successfully installing py39-mupdf, I cannot import the pymupdf
 library
 {{{
 % sudo port install py39-mupdf
 % python
 Python 3.9.20 (main, Sep  7 2024, 06:17:26)
 [Clang 13.1.6 (clang-1316.0.21.2.5)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import pymupdf

 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 ModuleNotFoundError: No module named 'pymupdf'
 }}}

 I found that pymupdf library is not in the py39-mupdf package, but
 fitz_old library is.
 {{{
 % port contents py39-mupdf

 Port py39-mupdf @1.24.2_0 contains:
   /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/pymupdf
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/COPYING
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/METADATA
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/README.md
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/RECORD
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/WHEEL
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyMuPDF-1.24.2.dist-info/entry_points.txt
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__init__.py
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__main__.py
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/__init__.cpython-39.opt-1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/__init__.cpython-39.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/__main__.cpython-39.opt-1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/__main__.cpython-39.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/fitz_old.cpython-39.opt-1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/fitz_old.cpython-39.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/table.cpython-39.opt-1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/table.cpython-39.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/utils.cpython-39.opt-1.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/__pycache__/utils.cpython-39.pyc
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/_fitz_old.cpython-39-darwin.so
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/fitz_old.py
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/table.py
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/fitz_old/utils.py
   /opt/local/bin/pymupdf-3.9
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71390>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list