📅  最后修改于: 2022-03-11 14:46:30.940000             🧑  作者: Mango
python3 -m venv env # create env
source env/bin/activate # activate env
deactivate # deactivate env
rm -r env/ # delete env in Linux
pip freeze # show all packages installed
pip install -r requirements.txt # install all packages
pip freeze > requirements.txt # create automatically requirements.txt