You will need to call the uwsgi command using the virtualenv's file for uwsgi. that way you won't need to activate the virtualenv.
Something like below,
/path/to/virtualenvs/project-name/bin/uwsgi -x /root/my_project/My_web_api/My_web_api.xml
All the commands that need to be run using virtualenv should be called this way, so that you won't need to activate the virtualenv.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…