Skip to content

Commit ca8a315

Browse files
fix: python3.10 bash
1 parent 54d55a9 commit ca8a315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/python/venv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func getVenvPath(basePath string) string {
4545
func newVenv(dir string, logger *zap.SugaredLogger) error {
4646
var out bytes.Buffer
4747
var errout bytes.Buffer
48-
cmd := exec.Command("python3.10", "-m", "venv", "virtual_venv")
48+
cmd := exec.Command("bash", "-c", "python3.10 -m venv virtual_venv")
4949
cmd.Dir = dir
5050
cmd.Stdout = &out
5151
if err := cmd.Run(); err != nil {

0 commit comments

Comments
 (0)