win清理python残余

rd /s/q %USERPROFILE%\AppData\Local\Python
rd /s/q %USERPROFILE%\AppData\Local\pip
reg delete “HKCU\Software\Python” /f
rd /s/q %USERPROFILE%\AppData\Roaming\Python
rd /s/q %USERPROFILE%\AppData\Roaming\pip

rd /s/q “C:\Users\%USERNAME%\.ipython”

rd /s/q “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.8”

rd /s/q “C:\Users\Public\Documents\Python Scripts”

rd /s/q “C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8”

rd /s/q “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.8”

rd /s/q “C:\Users\rkey\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.5”

rd /s/q “C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Python 3.12”

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注