I am a Window user.
My Python is installed via Anaconda. I tried to install package via Spyder using the below code
import pip._internal as pip package