-
Notifications
You must be signed in to change notification settings - Fork 41
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
mig build failed, error cannot find package "github.com/NVIDIA/mig-parted/cmd/apply" in any of:. #12
Comments
anateshan
changed the title
build failed ./cmd/nvidia-mig-parted
mig build failed, error cannot find package "github.com/NVIDIA/mig-parted/cmd/apply" in any of:.
Aug 18, 2022
Same thing. Did you solve it ? |
At which commit are you building the packages and which version of golang are you using? |
The Go that is installed with apt was not sufficient. I installed from Go website, and then it compiled. |
Which version of go was installed via |
for my server it is : |
Go 1.10 is definitely too old. We use 1.18 or 1.20 for development in general. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using ubuntu 18.04, and when try to install, mig parted tool I get this erro " cannot find package "github.com/NVIDIA/mig-parted/cmd/apply" in any of:"
user@host-1:~/slurm-instal/mig-parted$ go build ./cmd/nvidia-mig-parted
cmd/nvidia-mig-parted/main.go:22:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/apply" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/apply (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/apply (from $GOPATH)
cmd/nvidia-mig-parted/main.go:23:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/assert" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/assert (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/assert (from $GOPATH)
cmd/nvidia-mig-parted/main.go:24:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/checkpoint" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/checkpoint (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/checkpoint (from $GOPATH)
cmd/nvidia-mig-parted/main.go:25:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/export" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/export (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/export (from $GOPATH)
cmd/nvidia-mig-parted/main.go:26:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/restore" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/restore (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/restore (from $GOPATH)
cmd/nvidia-mig-parted/main.go:27:2: cannot find package "github.com/NVIDIA/mig-parted/cmd/util" in any of:
/usr/src/github.com/NVIDIA/mig-parted/cmd/util (from $GOROOT)
/home/user/go/src/github.com/NVIDIA/mig-parted/cmd/util (from $GOPATH)
cmd/nvidia-mig-parted/main.go:28:2: cannot find package "github.com/sirupsen/logrus" in any of:
/usr/src/github.com/sirupsen/logrus (from $GOROOT)
/home/user/go/src/github.com/sirupsen/logrus (from $GOPATH)
cmd/nvidia-mig-parted/main.go:29:2: cannot find package "github.com/urfave/cli/v2" in any of:
/usr/src/github.com/urfave/cli/v2 (from $GOROOT)
/home/user/go/src/github.com/urfave/cli/v2 (from $GOPATH)
The text was updated successfully, but these errors were encountered: