File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 33- [ 一. 删除缓存] ( #一-删除缓存 )
44 - [ 1.1. pyc and pycache] ( #11-pyc-and-pycache )
55 - [ 1.2. 扩展目录] ( #12-扩展目录 )
6+ - [ 二. pip] ( #二-pip )
7+ - [ 2.1 pip list or freeze] ( #21-pip-list-or-freeze )
68
79## 一. 删除缓存
810
@@ -24,3 +26,20 @@ find . -type d -name build -exec rm -r {} +
2426find . -type d -name dist -exec rm -r {} +
2527find . -type d -name .tox -exec rm -r {} +
2628```
29+
30+ ## 二. pip
31+
32+ ### 2.1 pip list or freeze
33+
34+ ``` bash
35+ # pip list
36+ pip2 list > ./Temp/txt/pip2_list.txt
37+ pip3 list > ./Temp/txt/pip3_list.txt
38+ pip2 list > ./Temp/txt/2021_pip2_list.txt
39+ pip3 list > ./Temp/txt/2021_pip3_list.txt
40+ # pip freeze
41+ pip2 freeze > ./Temp/txt/pip2_freeze.txt
42+ pip3 freeze > ./Temp/txt/pip3_freeze.txt
43+ pip2 freeze > ./Temp/txt/2021_pip2_freeze.txt
44+ pip3 freeze > ./Temp/txt/2021_pip3_freeze.txt
45+ ```
You can’t perform that action at this time.
0 commit comments