# PyPDF2 substitute for Python 3.12?

**URL:** <https://forum.codewithmosh.com/t/pypdf2-substitute-for-python-3-12/24742>\
**Category:** Python\
**Created:** [January 24, 2024, 12:13pm UTC](https://forum.codewithmosh.com/t/pypdf2-substitute-for-python-3-12/24742 "2024-01-24T12:13:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Napchill](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Napchill](https://forum.codewithmosh.com/u/Napchill)\
**Post date:** [January 24, 2024, 12:13pm UTC](https://forum.codewithmosh.com/t/pypdf2-substitute-for-python-3-12/24742/1 "2024-01-24T12:13:45Z")

</div>

Is there a substitute package for PyPDF2? I am getting the “ModuleNotFoundError: No module named ‘PyPDF2’”. I believe this is because this package is incompatible with Python 3.12.1, which is the python version I am using. Thoughts? Suggests?

---

<div class="post-metadata">

**Author:** ![lucidlear](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lucidlear/32/5477_2.png) [@lucidlear](https://forum.codewithmosh.com/u/lucidlear)\
**Post date:** [January 24, 2024, 9:18pm UTC](https://forum.codewithmosh.com/t/pypdf2-substitute-for-python-3-12/24742/2 "2024-01-24T21:18:52Z")

</div>

Hi you could try PyMuPDF

you can read the docs [here](https://pymupdf.readthedocs.io/en/latest/)
