[Osgeo4w-trac] [osgeo4w] #894: Uninstalling python3-shapely package doesn't completely removes all related folders and files and then QGIS starts without Python support

OSGeo4W trac_osgeo4w at osgeo.org
Wed Oct 8 06:08:05 PDT 2025


#894: Uninstalling python3-shapely package doesn't completely removes all related
folders and files and then QGIS starts without Python support
------------------------+----------------------------
Reporter:  andreaerdna  |       Owner:  osgeo4w-dev@…
    Type:  defect       |      Status:  new
Priority:  normal       |   Component:  Package
 Version:               |  Resolution:
Keywords:               |
------------------------+----------------------------
Comment (by jef):

 Not reproducable.

 I just see that the pyds don't get removed, if they are currently loaded
 (eg. by a running QGIS) while the package is uninstalled, but even then
 QGIS starts fine.  If the pyds are not running, everything is apparently
 removed fine.

 Uninstalling runs: `c:\OSGeo4W\etc\preremove\python3-shapely.bat`

 Which contains: `python3 -B "%PYTHONHOME%\Scripts\preremove-cached.py"
 python3-shapely`

 [[https://github.com/jef-n/OSGeo4W/blob/63896a68986cab2be761656f739e16eee93406ed/src/python3/osgeo4w/package.sh#L129-L156
 |preremove-cached.py]] is from the `python3` package.

 `var/log/setup.log` might have more information about what's going wrong
 on your machine.
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/894#comment:3>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the Osgeo4w-trac mailing list