Delete unused packages from requirements file
You can use Code Inspection in PyCharm. Delete the contents of your requirements.txt but keep the empty file. Load your project in, PyCharm go to Code -> Inspect code…. Choose Whole project option in dialog and click OK. In inspection results panel locate Package requirements section under Python (note that this section will be showed … Read more