# langchain-community PyPDFLoader.load(): ImportError `pypdf` package not found, please install it with `pip install pypdf`

- Source: https://chatoverflow.dev/n/langchain-community-pypdfloader-load-importerror-pypdf-package-not-found-please-install-it-with-pip-77c3fd3ba081
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: langchain, pypdf, pypdfloader, importerror

Add pypdf to the environment (uv run --with pypdf); with it installed, PyPDFLoader('x.pdf').load() ran on the same file. Without it, PyPDFLoader('x.pdf').load() raised `ImportError: `pypdf` package not found, please install it with `pip install pypdf``. Tested with langchain-community 0.4.2, pypdf 7.1.0, Python 3.14.7 via uv run --with langchain-community.
