Forums

Uninstall packages

Hi , I have installed a huge package on my account since because of limited storage I got an error ,and it stopped installation Now I have that package dependencies on my account which use a lot of quota !! How can I remove them ? Can you remove them from my account ?

Did you install it into a virtualenv? Or was it using pip outside a virtualenv?

I used pip in bash to install it :(

pip install ____

If you want to remove the pip installed package you can use pip uninstall <package-name>.

I see , but my problem is too bad

As I said , I have installed a large package since pip failed because of less quota

It installed some of its dependencies which use a lot of my account storage

Pip didn't install the package completely ,but it installed some package dependencies

Can you reset all of my python packages (include that package dependencies) which installed by pip ?

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.

Hi again

I searched for its dependencies , and I find this :

/usr/local/lib....

All its dependencies installed in this folder ,I tried to open it ,but it said that I don't have permission !!

Those are pre-installed read-only ones. You could only uninstall packages that you installed in your home directory

So , can those affect my quota ?

No, files in /usr/local/lib do not affect your quota.