remove package from conda environment using a file code example
Example 1: conda remove environment
conda remove --name myenv --all
Example 2: conda remove environment by path
# remove environments by path
conda remove -p --all
conda remove --name myenv --all
# remove environments by path
conda remove -p --all