卸载IDEA或者pycharm时遇到问题:IDEA uninstall hasn‘t detected folder
出现的错误:
Uninstall hasn't detected folder of PyCharm Installation. Probably Uninstall.exe was moved from the installation folder.
这个问题是由于IDEA安装中丢失了一个文件造成的。请尝试以下powershell命令在该位置创建一个具有适当名称的空文件
1.用管理员权限打开powershell命令
2.找到你安装pycharm的路径,复制bin的文件路径
cd 'D:\Software\IDEA 2023.3.4\IntelliJ IDEA 2023.3.4\bin'
然后输入
New-Item -Path 'IdeaWin64.dll' -ItemType File
采用这种方法,就可以将IDEA或者pycharm卸载了