I’m following KubeRay CLI - KubeRay Docs
Per Installation part refers to release page but I can’t find a compiled go binary there.
Per Development, I cloned kuberay repo and followed
cd kuberay/cli
go build -o kuberay -a main.go
This fails with
../../../go/src/github.com/hashicorp/hcl/pos_scanner.go:7:2: cannot find package "github.com/apparentlymart/go-textseg/v13/textseg" in any of:
/usr/local/go/src/github.com/apparentlymart/go-textseg/v13/textseg (from $GOROOT)
/Users/anov/go/src/github.com/apparentlymart/go-textseg/v13/textseg (from $GOPATH)
../../../go/src/github.com/ray-project/kuberay/proto/go_client/cluster.pb.go:10:2: cannot find package "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" in any of:
/usr/local/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options (from $GOROOT)
/Users/anov/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options (from $GOPATH)
../../../go/src/github.com/ray-project/kuberay/proto/go_client/cluster.pb.gw.go:16:2: cannot find package "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" in any of:
/usr/local/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/runtime (from $GOROOT)
/Users/anov/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/runtime (from $GOPATH)
../../../go/src/github.com/ray-project/kuberay/proto/go_client/cluster.pb.gw.go:17:2: cannot find package "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" in any of:
/usr/local/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/utilities (from $GOROOT)
/Users/anov/go/src/github.com/grpc-ecosystem/grpc-gateway/v2/utilities (from $GOPATH)
../../../go/src/github.com/spf13/viper/internal/encoding/hcl/codec.go:8:2: cannot find package "github.com/hashicorp/hcl/hcl/printer" in any of:
/usr/local/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/Users/anov/go/src/github.com/hashicorp/hcl/hcl/printer (from $GOPATH)
../../../go/src/github.com/spf13/viper/internal/encoding/toml/codec2.go:7:2: cannot find package "github.com/pelletier/go-toml/v2" in any of:
/usr/local/go/src/github.com/pelletier/go-toml/v2 (from $GOROOT)
/Users/anov/go/src/github.com/pelletier/go-toml/v2 (from $GOPATH)
../../../go/src/github.com/mattn/go-runewidth/runewidth.go:7:2: found packages uniseg (doc.go) and main (gen_breaktest.go) in /Users/anov/go/src/github.com/rivo/uniseg
../../../go/src/github.com/spf13/afero/internal/common/adapters.go:16:8: cannot find package "io/fs" in any of:
/usr/local/go/src/io/fs (from $GOROOT)
/Users/anov/go/src/io/fs (from $GOPATH)
../../../go/src/github.com/ray-project/kuberay/cli/pkg/cmd/cluster/create.go:10:2: cannot find package "k8s.io/klog/v2" in any of:
/usr/local/go/src/k8s.io/klog/v2 (from $GOROOT)
/Users/anov/go/src/k8s.io/klog/v2 (from $GOPATH)
What do I do to make it work?