Closed oldrichsmejkal closed 5 years ago
I found the reason, I got golang package installed from default ubuntu/debian repository, which hase some outdated version.
Reinstalled using repository from this manual (so it's working, with go version 1.13 now): https://github.com/golang/go/wiki/Ubuntu
Hi,
when I run installing command: GO111MODULE=auto go install
I got errors about finding a lot of packages. I don't have experience with go at all, so maybe there is something wrong with my installation?
Thanks.
Errors: migrate.go:10:2: cannot find package "github.com/influxdata/influxdb/client/v2" in any of: /usr/lib/go-1.10/src/github.com/influxdata/influxdb/client/v2 (from $GOROOT) /home/oldrich/go/src/github.com/influxdata/influxdb/client/v2 (from $GOPATH) migrate.go:11:2: cannot find package "github.com/spf13/cobra" in any of: /usr/lib/go-1.10/src/github.com/spf13/cobra (from $GOROOT) /home/oldrich/go/src/github.com/spf13/cobra (from $GOPATH) app_context.go:4:2: cannot find package "github.com/timescale/outflux/internal/cli" in any of: /usr/lib/go-1.10/src/github.com/timescale/outflux/internal/cli (from $GOROOT) /home/oldrich/go/src/github.com/timescale/outflux/internal/cli (from $GOPATH) ... ... ...