pip freeze > requirements.txt - permission denied with sudo?

sudo sh -c 'sudo pip freeze > requirements.txt'

Your solution is above!

If you need assistance with your projects feel free to email me at info@airgad.com or whatsapp Jesse stay safe!