With a simple Python command, it is possible to uninstall all the packages that we have installed from a project or application:
pip freeze | xargs pip uninstall -y
We can use this command in a virtual environment of the venv perfectly; this solution is useful when we want to update a project with the latest dependencies.
Develop with Laravel, Django, Flask, CodeIgniter, HTML5, CSS3, MySQL, JavaScript, Vue, Android, iOS, Flutter