From 4d22546959dda36202510c3dc608e328115e825d Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 6 Nov 2024 23:20:23 -0500 Subject: [PATCH] testing --- pipenv/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/project.py b/pipenv/project.py index a6a96d1f2..f6735539b 100644 --- a/pipenv/project.py +++ b/pipenv/project.py @@ -1414,7 +1414,7 @@ def _which(self, command, location=None, allow_global=False): else: location = os.environ.get("VIRTUAL_ENV", None) if not (location and os.path.exists(location)) and not allow_global: - raise RuntimeError("location not created nor specified") + return None version_str = "python{}".format(".".join([str(v) for v in sys.version_info[:2]])) is_python = command in ("python", os.path.basename(sys.executable), version_str)