From dfa7107b2e1ff3983cd19f931fa6944b3f9ceaed Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Tue, 9 Nov 2021 22:06:23 +0800 Subject: [PATCH] Don't use sys.executable when inside virtualenv --- pipenv/environments.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pipenv/environments.py b/pipenv/environments.py index 46d9ff5c..622bf2c0 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -357,7 +357,6 @@ class Setting: self.PIPENV_VIRTUALENV = None if "PIPENV_ACTIVE" not in os.environ and not self.PIPENV_IGNORE_VIRTUALENVS: self.PIPENV_VIRTUALENV = os.environ.get("VIRTUAL_ENV") - self.PIPENV_USE_SYSTEM = bool(self.PIPENV_VIRTUALENV) # Internal, tells Pipenv to skip case-checking (slow internet connections). # This is currently always set to True for performance reasons.