Definitely the best way to uninstall all pypi packages in a conda environment is:
conda activate <your-env>
conda list | awk '/pypi/ {print $1}' | xargs pip uninstall -y
Answer from Luis Chaves Rodriguez on Stack OverflowDefinitely the best way to uninstall all pypi packages in a conda environment is:
conda activate <your-env>
conda list | awk '/pypi/ {print $1}' | xargs pip uninstall -y
You can use Jupyter Notebook to solve this problem :
- open Jupyter Notebook
- open a new notebook with the right kernel
- type
!pip uninstall -y [package]in a code cell - run the cell code
python - Conda uninstall one package and one package only - Stack Overflow
Uninstalling Anaconda - Product Help - Anaconda Forum
Anaconda remove package manually
Can I remove anaconda installer related packages after installation?
Where is Anaconda installed on a Mac?
How to check if Anaconda is installed or not?
Videos
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?