Fix virtualenv paths on windows.
No need to activate venv to run pip freeze
Merge pull request #5471 from olliewalsh/venv-windows

Fix issue #5462