Refactor virtual env requirement to use the pip.locations func