I'm using pip to install necessary packages for my project. And my project is working fine on my pc. Next step is deploying it on client's device. But, I see some packages are installed, not being used though. So, what is the best (optimal) way to clean up those unused pip packages before deployment? I saw solutions (such as pipreqs) but didn't work well. Continue reading...