diff --git a/pipenv/cli.py b/pipenv/cli.py index 1d62aaab..00f2ff58 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -390,7 +390,7 @@ def ensure_project(three=None, python=None, validate=True, system=False, warn=Tr if warn: # Warn users if they are using the wrong version of Python. if project.required_python_version: - path_to_python = which('python') + path_to_python = shellquote(which('python')) if project.required_python_version not in python_version(path_to_python): puts( '{0}: Your Pipfile requires {1} {2}, ' diff --git a/pipenv/utils.py b/pipenv/utils.py index c0420745..ba101c55 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -25,7 +25,7 @@ requests = requests.session() def python_version(path_to_python): - + print(path_to_python) if not path_to_python: return None