【问题标题】:why does uninstalling python keep the install directory为什么卸载python会保留安装目录
【发布时间】:2020-12-20 11:10:00
【问题描述】:

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

奇怪的是,卸载它会离开安装目录,它是 %localappdata%\Programs\Python\Python38-32.

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>

删除Python38-32文件夹是否安全?

注意:我使用的是 Windows。

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

【问题讨论】:

    标签: python windows installation uninstallation


    【解决方案1】:

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

    您可能还需要检查您的 Windows 系统路径,以确保不包含 32 位版本的路径,而包含 64 位版本的路径。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-01-16
      • 2017-01-14
      • 1970-01-01
      • 2012-01-06
      • 2018-08-17
      • 1970-01-01
      • 2020-10-13
      • 2013-03-15
      相关资源
      最近更新 更多