I am trying to use pipreqs module to generate requirements text. But pipreqs is generating following error.
No module named pipreqs.__main__; 'pipreqs' is a package and cannot be directly executed
I'm using Visual Studio Code, and trying to use pipreqs by following command in Terminal.
python -m pipreqs [location/project]
I've already installed pipreqs and also updated pip. But still the problem remains. Is it a bug or am I doing it in the wrong way?