1. Python environment (output to file)
$ pip3.6 freeze | tee requirements.txt
Install according to the file: pip install -r requirements.txt # Install the package according to the file
2. ubuntu system environment
$ dpkg -l
(The apt installation is also viewed through the above command)
3,
thank: