Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't go get, error in cmd_build.go #299

Open
captchanjack opened this issue Nov 16, 2022 · 0 comments
Open

Can't go get, error in cmd_build.go #299

captchanjack opened this issue Nov 16, 2022 · 0 comments

Comments

@captchanjack
Copy link

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
@captchanjack captchanjack changed the title Can't go get Can't go get, error in cmd_build.go Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant