Closed geekgao closed 2 years ago
➜ gowindow gopy build -output=out2 -vm=python3 sysinfo.go --- Processing package: command-line-arguments --- --- building package --- gopy build -output=out2 -vm=python3 sysinfo.go goimports -w sysinfo.go go build -mod=mod -buildmode=c-shared -o sysinfo_go.so . cmd had error: exit status 1 output: sysinfo.go:55:2: package command-line-arguments is not in GOROOT (/usr/lib/go-1.16/src/command-line-arguments)
I don't know why this error happend.But sometimes it was successful. :-(
After create a sub directory and redogo mod vendor . That works.
go mod vendor
I don't know why this error happend.But sometimes it was successful. :-(