Skip to content

Commit

Permalink
fix: Ensure pipx install is global (#199)
Browse files Browse the repository at this point in the history
Otherwise, `pipx install` binaries are not on the PATH for generator commands.
  • Loading branch information
bflad authored Jan 10, 2025
1 parent 8659c57 commit 7361172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/actions/setup_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func installPoetry() error {
poetrySpec = "poetry==" + poetryVersion
}

cmd := exec.Command("pipx", "install", poetrySpec)
cmd := exec.Command("pipx", "install", "--global", poetrySpec)

if err := cmd.Run(); err != nil {
return fmt.Errorf("error installing poetry: %w", err)
Expand Down

0 comments on commit 7361172

Please sign in to comment.