[osgeo4w-dev] [osgeo4w] #871: Uninstalling Python modules doesn't completely removes all related folders and files

OSGeo4W trac_osgeo4w at osgeo.org
Mon Feb 24 07:59:26 PST 2025


#871: Uninstalling Python modules doesn't completely removes all related folders
and files
------------------------+----------------------------
Reporter:  andreaerdna  |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  Installer
 Version:               |  Resolution:
Keywords:               |
------------------------+----------------------------
Description changed by jef:

Old description:

> As an example, after installing, using and then uninstalling the module
> python3-arrow, the {{{pyarrow}}} folder (containing a __pycache__ folder
> with various .pyc files) is still present in the
> {{{apps\Python312\Lib\site-packages}}} directory.
>
> Since the {{{pyarrow}}} folder is not deleted, even if the pyarrow module
> was uninstalled, the import of the pyarrow module doesn't fail, as it
> should be instead.
>
> Also previously reported https://trac.osgeo.org/osgeo4w/ticket/861.

New description:

 As an example, after installing, using and then uninstalling the module
 python3-arrow, the {{{pyarrow}}} folder (containing a __pycache__ folder
 with various .pyc files) is still present in the
 {{{apps\Python312\Lib\site-packages}}} directory.

 Since the {{{pyarrow}}} folder is not deleted, even if the pyarrow module
 was uninstalled, the import of the pyarrow module doesn't fail, as it
 should be instead.

 Also previously reported #861.

--
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/871#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list