First, use the command conda info --envs
to find the path of a specific environment created with conda.
$ conda info --envs
# conda environments:
#
base /Users/z/miniconda3
some-env * /Users/z/miniconda3/envs/some-env