Fix issue #5462

Fix virtualenv paths on windows.
No need to activate venv to run pip freeze