pipreqs icon indicating copy to clipboard operation
pipreqs copied to clipboard

pipreqs can not find any packages which i have installed locally.

Open LorenzoChan0103 opened this issue 5 months ago • 2 comments

pipreqs on Windows 10,Python3.11, fails to resolve packages installed in a global Python path like C:\Program Files\Python311\Lib\site-packages due to space in the directory name. Even with --use-local or setting PYTHONPATH, packages are not resolved locally.

LorenzoChan0103 avatar Jul 31 '25 00:07 LorenzoChan0103

On MacOS and python 3.13, with pipreqs 0.4.13, I seem to be encountering the same issue, pipreqs reports 'import not found locally' for every single package, when using python with a virtualenv. No spaces in my path either, so that doesn't seem to be a factor as far as I can see.

Patronics avatar Aug 07 '25 23:08 Patronics

On MacOS and python 3.13, with pipreqs 0.4.13, I seem to be encountering the same issue, pipreqs reports 'import not found locally' for every single package, when using python with a virtualenv. No spaces in my path either, so that doesn't seem to be a factor as far as I can see.

Thks for your sharing. If you sovle this problem,plz commit me.

LorenzoChan0103 avatar Aug 08 '25 05:08 LorenzoChan0103