Ah, thanks, that clarifies things. You can clear up space by firstly deleting the directory .cache from your home directory (that will just mean that if you need to install packages in the future, it will have to download them again). Also, if you look inside the .local directory, then the lib subdirectory of that, you'll see directories called things like python3.13 for each version of Python that you've globally installed packages for. You can either go into those, then site-packages, and delete packages one by one, or you can safely delete the python3.13 type directories to uninstall everything that was globally installed for that version of Python.