menu
In IPython 7.3 and later, there is a magic %pip and %conda command that will run in the current kernel.

%pip install geocoder

In earlier versions, you need to use sys to fix the problem like in the answer by FlyingZebra1

import sys
!{sys.executable} -m pip install geocoder