8👍
✅
Based on your answers, what happened is that you used sudo
when you created the virtualenv so root owns it.
sudo chown ec2-user:ec2-user -R ~ec2-user/env
will fix this and make ec2-user
the owner of the directory (and subdirectories) again.
Source:stackexchange.com