From b3f0b628a17b0777fb4ccf748918408e638fafaa Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 15 Sep 2017 12:00:05 -0400 Subject: [PATCH] str python Signed-off-by: Kenneth Reitz --- pipenv/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 6380b173..2e713915 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -55,7 +55,7 @@ class HackedPythonVersion(object): def __enter__(self): if self.python: - os.environ['PIP_PYTHON_VERSION'] = self.python + os.environ['PIP_PYTHON_VERSION'] = str(self.python) def __exit__(self, *args): # Restore original Python version information.