go-python / go-python/gopy

Can't go get, error in cmd_build.go

Aperta
#299 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
2.3k
Fork
136
Merge medio
14m
PR unite (30g)
2

Descrizione

Hello, I'm getting this error trying to go get
For reference I'm on an Apple m1 chip

```
go get github.com/go-python/gopy
# github.com/go-python/gopy
../go/src/github.com/go-python/gopy/cmd_build.go:34:9: cannot use *flag.NewFlagSet("gopy-build", flag.ExitOnError) (variable of type "github.com/gonuts/flag".FlagSet) as type "flag".FlagSet in struct literal
../go/src/github.com/go-python/gopy/cmd_build.go:60:51: cmdr.Flag.Lookup("output").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:61:44: cmdr.Flag.Lookup("name").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:62:44: cmdr.Flag.Lookup("main").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:63:40: cmdr.Flag.Lookup("vm").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:64:59: cmdr.Flag.Lookup("package-prefix").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:65:52: cmdr.Flag.Lookup("rename").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:66:50: cmdr.Flag.Lookup("symbols").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:67:49: cmdr.Flag.Lookup("no-warn").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:68:49: cmdr.Flag.Lookup("no-make").Value.Get undefined (type "flag".Value has no field or method Get)
../go/src/github.com/go-python/gopy/cmd_build.go:68:49: too many errors
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.