The /var/log/uwsgi directory needs to be created when setting up uwsgi. It's not going to be created by pip.