Skip to content

Commit

Permalink
Fix system env detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sdispater committed Jul 30, 2021
1 parent d965c86 commit 94c1413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/utils/env.py
Original file line number Diff line number Diff line change
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 94c1413

Please sign in to comment.