Cómo sudo Pip permiso denegado

# If sudo denied add sh -c and put in quotes.
sudo sh -c 'sudo pip freeze > requirements.txt'
Agrius