为什么卸载python会保留安装目录

问题描述

我曾经使用32位Python 3.8,但最近我将其卸载并获得了64位版本。

奇怪的是,将其卸载后离开了安装目录 update student s1 set s1.delay = (select (date1 - date2) from cource c where c.id = s1.id and c.value ='On' and c.act_id = select max(act_id) from cource c2 where c2.Id = c.id and c2.value ='On') from student s1 where s1.status = 'active' and s1.currentprofile = s1.prevprofile and exists (select 1 from cource c1 where c1.id = s1.id and c1.value ='On');

32位版本仍具有站点软件包,scripts文件夹以及其他一些内容

内容是:

%localappdata%\Programs\Python\python38-32

删除python38-32 | |--- include | |_pygame | |_<some C/C++ header files here> |--- Lib | |_site-packages | |_<insert site packages here> | struct.pyo |--- Scripts | |_<stuff here> |--- share | |_doc | |_<empty directory> 文件夹是否安全?

注意:我正在使用Windows。

另外:我不确定是将它发布在超级用户还是StackOverflow上,因为它与python有关。请告诉我是否需要将其发布到超级用户上,然后将问题移到那里。

解决方法

根据我的经验,卸载后可以安全地删除该文件夹。如果您有一些项目指向已删除的32位Python,则可以对其进行修改,使其指向正确的64位Python。

您可能还需要检查Windows系统路径,以确保不包括指向32位版本的路径,并且包括指向64位版本的路径。