diff --git a/poetry/utils/env.py b/poetry/utils/env.py index d6875245eb7..b13ec91270c 100644 --- a/poetry/utils/env.py +++ b/poetry/utils/env.py @@ -753,7 +753,7 @@ def create_venv( "" ) - return SystemEnv(Path(sys.prefix)) + return self.get_system_env() io.write_line( "Creating virtualenv {} in {}".format(name, str(venv_path))