# If sudo denied add sh -c and put in quotes. sudo sh -c 'sudo pip freeze > requirements.txt'
sudo chown -R your_username:your_username path/to/virtuaelenv/