I am trying to save the packages and versions used in my python project. I installed pipreqs but I don't know why it's not working. Maybe I'm not using it correctly. What I did is the following in my jupyter notebook:
pipreqs C:\Users\Documents\myproject\gitlab\Scripts\packages
When I run it, it says syntax error. I tried replacing path = r'C:\Users\Documents\myproject\gitlab\Scripts\packages'
and it still didn't work.
I want the requirements.txt to be saved in this directory. Am I missing something? Can someone please guide me through how pipreqs works ? Thanks