pipreqs says "WARNING: Import named "..." not found locally. Trying to resolve it at the PyPI server."
Author: gezabohusCreated May 30, 2023Updated Apr 10, 2026
Hi all,
This is on MacOS Catalina. My project uses python 3.10, but I also have python 3.8 installed as well as python 2.7 as it is used by the system.
I run
pipreqs .
in the project directory and for every import it finds in the code issues
"WARNING: Import named "..." not found locally. Trying to resolve it at the PyPI server."
even though these are in fact installed for python 3.10.
How do I make it find them?
Thanks.
Source: bndr/pipreqs