Where to find conda (anaconda) packages and libraries

I recently needed to add some code to a python library and I had a hard time figuring out where the hell it was, so I thought Iā€™d write a post about it.

I am using

  1. mac running OSX 10.14.5

  2. anaconda 3

The location of anaconda is at the very top for me (not under my /Users/ directory), and then go into the directory for your environments, choose the one you want to edit, then the lib folder, then the version of python, then your package. See, easy. example of my path if i wanted to edit something in my tedtalk_env in the sklearn library

 cd /anaconda3/envs/ted_talk_env/lib/python3.7/sklearn