I am attempting to run this command during the heroku-flask tutorial
sudo pip freeze > requirements.txt
I still receive the below message
bash: requirements.txt: Permission denied
looks like you don't have write permission in the folder your working in. This should solve the issue.
sudo sh -c 'sudo pip freeze > requirements.txt'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With