Upgrade Python: python -m pip install --upgrade pip
Upgrade pip : pip install --upgrade pip
Then install robotframework: pip install robotframework
hope this will help !