You can use conda remove --force.

The documentation says:

--force               Forces removal of a package without removing packages
                      that depend on it. Using this option will usually
                      leave your environment in a broken and inconsistent
                      state
Answer from Gustavo Muenz on Stack Overflow
🌐
Conda
docs.conda.io › projects › conda › en › stable › commands › remove.html
conda remove — conda 26.3.2 documentation
Used with --all, delete all packages but keep the environment. ... Use sys.executable -m conda in wrapper scripts instead of CONDA_EXE.
Discussions

python - "Conda remove <package>" taking forever to remove package - Stack Overflow
I notice if I am trying to remove huge conda packages that occupy hundreds of megabytes in space, running conda remove will take forever. Some examples of these huge packages are py... More on stackoverflow.com
🌐 stackoverflow.com
Anaconda remove package manually
Why not remove it with conda? More on reddit.com
🌐 r/learnpython
6
1
July 23, 2020
Conda remove uninstalls more packages than expected
Current Behavior Suppose I have Anaconda and do the following: conda create -n demo python=3.6 conda activate demo conda install seaborn The last command installs 39 new packages including seaborn, matplotlib and pandas. Now suppose that... More on github.com
🌐 github.com
8
October 18, 2019
conda doesn't correctly uninstalls packages installed by pip
Current Behavior conda does not remove all files listed in the RECORD metadata file when asked to remove a package. This leaves a corrupt distribution present, which other tools such as pip are una... More on github.com
🌐 github.com
4
November 13, 2020
People also ask

How to rename a Conda environment?
Renaming a Conda environment is not directly supported by Conda. Create a new environment with the desired name and copy the packages from the old environment to the new one.
🌐
docs.kanaries.net
docs.kanaries.net › topics › Python › conda-remove-environment
How to Remove Conda Environment: Understand & Steps – Kanaries
What are some best practices for managing Conda environments?
Best practices include keeping environments minimal, regularly updating packages, regularly removing unused environments, and exporting environments when sharing code.
🌐
docs.kanaries.net
docs.kanaries.net › topics › Python › conda-remove-environment
How to Remove Conda Environment: Understand & Steps – Kanaries
🌐
freeCodeCamp
freecodecamp.org › news › how-to-remove-a-package-in-anaconda
Conda Remove Package - How To Remove Matplotlib in Anaconda
April 12, 2023 - In our case, we want to remove Matplotlib from the current environment (package-tutorial environment): ... The command above removes Matplotlib from the current environment. When you run the conda list command, Matplotlib will no longer be listed as a package.
🌐
Anaconda
anaconda.com › docs › getting-started › anaconda › uninstall
Uninstalling Anaconda Distribution - Anaconda
Start-Process -FilePath ".\anaconda3\Uninstall-Anaconda3.exe" -ArgumentList "/S" -Wait · As of Anaconda Distribution 2025.06, you can also use additional arguments to remove other files from your system. ... These arguments are not recommended if you have multiple conda installations.
🌐
Saturn Cloud
saturncloud.io › blog › how-to-uninstall-all-unused-packages-in-a-conda-virtual-environment
How to Uninstall All Unused Packages in a Conda Virtual Environment | Saturn Cloud Blog
November 2, 2023 - However, over time, you may find that your Conda environment becomes cluttered with unused packages, which can slow down your workflow and consume unnecessary disk space. In this blog post, we’ll guide you through the process of uninstalling all unused packages in a Conda virtual environment.
Find elsewhere
Top answer
1 of 1
16

Conda's remove operation still needs to satisfy all the other specifications for the environment, so Conda invokes its solver and this can be complicated. Essentially, it re-solves the entire environment sans the specified package, compares that against the existing state, then makes a plan based on the difference.

I very much doubt there is anything directly impactful about size of package, which OP alludes to. Instead, things that negatively impact solving are:

  • having a large environment (e.g., anaconda package is installed)
  • channel mixing - in particular, including the conda-forge channel at equal or higher priority as defaults in an environment with the anaconda package; that package and all its dependencies are intended to be sourced from the anaconda channel
  • having an underspecified environment (see conda env export --from-history to see your explicit specifications); e.g., an environment with a python=3.8 specification will be easier on the solver than just a python specification

In general, using smaller specialized (e.g., per-project) environments, rather than large monolithic ones helps avoid such problems. The anaconda package is particularly problematic.

Try Mamba

Other than adopting better practices, one can also get significantly faster solves with Mamba, a drop-in compiled replacement for conda. Try it out:

## install Mamba in base env
conda install -n base conda-forge::mamba

## use it like you would the 'conda' command
mamba remove -n foo bar
🌐
Conda
docs.conda.io › projects › conda › en › 4.14.x › commands › remove.html
conda remove — conda 4.14.0 documentation
Package names to remove from the environment. ... Use sys.executable -m conda in wrapper scripts instead of CONDA_EXE.
🌐
Reddit
reddit.com › r/learnpython › anaconda remove package manually
r/learnpython on Reddit: Anaconda remove package manually
July 23, 2020 -

Hi, I'm stuck on solving Environment, which looking on github is now a new error. How can I uninstall this manually, as I'm not interested in solving problems for anaconda, but I do need to get rid of this particular package as it's the wrong version and anaconda does not have the up to date version. If it's important it's django-crispy-forms, anaconda only has 1.7 which is not compatible with Django3. So need to remove this and pip install the correct one. Can I just find it in my virtual env folder and remove it, or are there metadata links that will cause problems?

🌐
Kanaries
docs.kanaries.net › topics › Python › conda-remove-environment
How to Remove Conda Environment: Understand & Steps – Kanaries
July 6, 2025 - Remove conda env with simple command line - conda remove --name ENVIRONMENT --all
🌐
GitHub
github.com › conda › conda › issues › 9353
Conda remove uninstalls more packages than expected · Issue #9353 · conda/conda
October 18, 2019 - My expected behaviour would be that conda remove seaborn removes seaborn and all of its dependencies, but does not remove any package (or dependencies thereof) that was explicitly installed before or after seaborn. Some might say just uninstall seaborn and all 39 packages, and then manually reinstall matplotlib and pandas.
Author   pallgeuer
🌐
Fig
fig.io › manual › conda › remove
conda remove <package name...> | Fig
Remove a list of packages from a specified conda environment
🌐
Conda
docs.conda.io › docs › using › pkgs.html
Managing packages — conda 26.3.3.dev39 documentation
To find what packages are depending on a specific package in your environment, there is not one specific conda command. It requires a series of steps: List the dependencies that a specific package requires to run: conda search package_name --info
🌐
Conda
docs.conda.io › projects › conda › en › stable › user-guide › tasks › manage-pkgs.html
Managing packages — conda 26.3.2 documentation
To find what packages are depending on a specific package in your environment, there is not one specific conda command. It requires a series of steps: List the dependencies that a specific package requires to run: conda search package_name --info
🌐
Machine Learning Plus
machinelearningplus.com › blog › conda delete environment – how to remove a conda environment and all the associated packages?
conda delete environment - How to remove a conda environment and all the associated packages? - MLPlus
March 13, 2023 - Earlier we saw how to create a new conda environment and steps to manage it. However, if you no longer need an environment, you can delete it to free up disk space and simplify your development environment. ... This command removes the environment and all its dependencies. The `–name` flag specifies the name of the environment you want to delete, and the `–all` flag removes all packages associated with that environment.
🌐
ActiveState
activestate.com › home › resources › quick read › how to uninstall python packages
How to Uninstall Python Packages - ActiveState
March 14, 2025 - However, unless specifically defined in a requirements.txt or pipfile.lock, package managers will not deal with transitive dependencies (ie., dependencies of dependencies). In this article, we explain how to uninstall Python packages using these popular tools and we also introduce you to the ActiveState Platform.
🌐
GitHub
github.com › conda › conda › issues › 10357
conda doesn't correctly uninstalls packages installed by pip · Issue #10357 · conda/conda
November 13, 2020 - conda does not remove all files listed in the RECORD metadata file when asked to remove a package. This leaves a corrupt distribution present, which other tools such as pip are unable to process. ... # must install/uninstall things in this exact order conda install -y -c conda-forge pynvml pip uninstall -y pynvml pip install pynvml conda uninstall -y pynvml
Author   stas00
🌐
Xygeni
xygeni.io › home › blog › conda remove env: don’t just delete it, do it securely!
Conda Remove Env: Don’t Just Delete It, Do It Securely! | Xygeni
August 25, 2025 - Learn how to delete conda environments securely using conda remove env: avoid leaks, reduce risk & clean up safely in DevSecOps workflows!
🌐
Carme-Docu
docs.open-carme.org › UserDoc › Basic › conda-env-deactivate-remove › conda-env-deactivate-remove.html
How to deactivate and remove a conda environment | Carme-Docu
jupyter kernelspec uninstall <name> -y · To remove all unused conda packages. In the terminal type: conda clean --all · Start a new job to remove possible cache files. Verify if your home/<username>/.conda/pkgs directory still has unwanted packages installed.
🌐
OpenReplay
blog.openreplay.com › conda-remove-environment
How to Completely Remove a Conda Environment: Step-by-Step Guide
conda remove --name ENV_NAME --all conda env remove --name ENV_NAME · Replace ENV_NAME with the name of the environment you want to delete. The --all flag ensures that all packages in the environment are removed.
🌐
Metaschool
metaschool.so › home › answers › how to remove a conda environment?
How to Remove a Conda Environment?
January 8, 2025 - A step-by-step guide to removing Conda environments and managing your Python setup efficiently.