Changed the subprocess calls.
virtualenvwrapper works differently. We need only write the command pip and not do an os.path.join.