go-python / go-python/gopy

Can't go get, error in cmd_build.go

Đang mở
#299 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
2.3k
Fork
136
Merge trung bình
14 phút
Pull request đã merge (30 ngày)
2

Mô tả

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
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.