first commit
This commit is contained in:
commit
ba848e218d
1001 changed files with 152333 additions and 0 deletions
13
Python/python删除模块.txt
Normal file
13
Python/python删除模块.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
①easy_install 安装的模块:
|
||||
# easy_install -m PackageName
|
||||
删除site-packages下的egg
|
||||
|
||||
②通过发行包附带的setup.py安装的模块,首选
|
||||
# python setup.py uninstall
|
||||
若未提供uninstall选项,可以
|
||||
# python setup.py install --record record.txt
|
||||
然后删除record.txt中的各个文件
|
||||
然后查看site-packages中有无空目录残余
|
||||
|
||||
③用pip安装的包
|
||||
# pip uninstall XXX
|
Loading…
Add table
Add a link
Reference in a new issue