I just forced the system call to use the pip.exe that exists in the virtual environment instead of needing to activate the environment. I would still like to know how to do what I'm asking as there are other things I do where this would be useful, but for this specific problem I was able to solve it.