Improve venv detection
Improve venv detection


Former-commit-id: be342b0e2dd00e530e67ff3b52b5528e3a771655 [formerly be342b0e2dd00e530e67ff3b52b5528e3a771655 [formerly 3cefd5cfdc427a8f75609e60fdd351a74df4eb8b]]
Former-commit-id: e358a32d5af55a6a373e02941b265ad136a0bcda
Former-commit-id: aa827dfe0a487ed133d74da2d3a7a58b8162173d
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine