Skip to content

Commit

Permalink
Merge pull request #4330 from python-poetry/fix-system-env-detection-1.1
Browse files Browse the repository at this point in the history
[1.1] Fix system environment detection
  • Loading branch information
sdispater committed Jul 30, 2021
2 parents d965c86 + 94c1413 commit cdb58c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/utils/env.py
Expand Up @@ -753,7 +753,7 @@ def create_venv(
"</>"
)

return SystemEnv(Path(sys.prefix))
return self.get_system_env()

io.write_line(
"Creating virtualenv <c1>{}</> in {}".format(name, str(venv_path))
Expand Down

0 comments on commit cdb58c6

Please sign in to comment.