I had to pip install a pypi only package (no conda package) in a conda environment - this is how I did it (on a mac, in this case):
/opt/anaconda3/envs/<name of conda environment>/bin/python -m pip install <name of package to install>