Open yashasvibmishra opened 2 years ago
I had this issue as well - I'm running pip from a windows cmd prompt. To fix it, I had to run the cmd prompt as administrator, uninstall pipreqs, then run "pip install pipreqs" again. After that, it was recognized. HTH
I find a good solution. You go to the root path of your project from cmd first. Run python -m pipreqs.pipreqs ./ --encoding=utf-8 It works for me
I've tried everything, ranging from adding it through the path by editing system variables, to reinstalling pip and python but nothing seems to work. Could anyone please tell me how to fix this error?