diff --git a/pipenv/core.py b/pipenv/core.py index d9d86d6550..6aaf51e53d 100644 --- a/pipenv/core.py +++ b/pipenv/core.py @@ -117,7 +117,7 @@ def spinner(): def which(command, location=None, allow_global=False): if not allow_global and location is None: - location = project.virtualenv_location or os.environ.get('VIRTUAL_ENV') + location = project.virtualenv_location if not allow_global: if os.name == 'nt': p = find_windows_executable(