I am a new Python user. I downloaded the latest Anaconda 3 2.4.1 (Python 3.5) from the below link: https://www.continuum.io/downloads
My PC Configurations are: Windo
I have used this command and it worked for me.
import sys !{sys.executable} -m pip install xgboost