conda uninstall all pip packages code example
Example 1: uninstall all pip packages anaconda
C:\> py -m pip uninstall simplejson
Uninstalling simplejson:
/home/me/env/lib/python3.9/site-packages/simplejson
/home/me/env/lib/python3.9/site-packages/simplejson-2.2.1-py3.9.egg-info
Proceed (y/n)? y
Successfully uninstalled simplejson
Example 2: uninstall all pip packages anaconda
py -m pip uninstall [options] <package> ...
py -m pip uninstall [options] -r <requirements file> ...