Skip to content

Commit 8e92825

Browse files
committed
whats the error
1 parent 2ee7824 commit 8e92825

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cli/module_generate.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,11 @@ func generatePythonStubs(module moduleInputs) error {
537537
if err != nil {
538538
return errors.Wrap(err, "cannot generate python stubs -- python runtime not found")
539539
}
540+
looked, err := exec.LookPath("python3")
541+
println("LOOKED", looked, err != nil)
540542
cmd = exec.Command("python3", "-m", "venv", venvName)
541-
_, err = cmd.Output()
543+
output, err := cmd.Output()
544+
println("OUTPUT", string(output))
542545
if err != nil {
543546
return errors.Wrap(err, "cannot generate python stubs -- unable to create python virtual environment")
544547
}

0 commit comments

Comments
 (0)