Save the list of installed packages to a file

pip3

pip3 freeze > {{requirements.txt}}

click the source code to copy install pip3 on any operating system with command-not-found.com