I had this issue so I created a little script to erase and save dep in requirements.txt file automatically. You can have a look here : https://github.com/Romeo-mz/clean_all_venv