When I run !pip install geocoder in Jupyter Notebook I get the same output as running pip install geocoder in the terminal but the geocoder package
!pip install geocoder
pip install geocoder
This worked for me in Jupyter nOtebook /Mac Platform /Python 3 :
import sys !{sys.executable} -m pip install -r requirements.txt