bndr / pipreqs

pipreqs - Generate pip requirements.txt file based on imports of any project. Looking for maintainers to move this project forward.
Apache License 2.0
6.38k stars 388 forks source link

how do I use this? #269

Closed kilanova closed 3 years ago

kilanova commented 3 years ago

if I do pipreqs ./path/to/file I get error: ‘Pipreqs’ is not recognized as an internal or external command

TylerYep commented 3 years ago

First run pip install pipreqs

kilanova commented 3 years ago

I’ve done that

TylerYep commented 3 years ago

Try pip3 install instead? Or verify you have the correct python path (see stack overflow for details)

kilanova commented 3 years ago

My python is in my path and it installs correctly just doesn’t setup a path for pipreqs

TylerYep commented 3 years ago

Then python -m pipreqs should also work

alan-barzilay commented 3 years ago

The problem seems to be solved so I will be closing this issue. If the problem persists feel free to reopen the issue

vijay-immanent commented 2 years ago

ran python -m pipreqs image 'pipreqs' is a package and cannot be directly executed.