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

storj/src/storj.io/storj/pkg/kademlia/config.go:7:2: cannot find package "context" in any of: #203

Closed
alebeta90 opened this issue Aug 8, 2018 · 3 comments

Comments

@alebeta90
Copy link

Hello friends,

I'm trying to run the test and I'm getting the next message:

storj@storj:~$ go test storj.io/storj/...
storj/src/storj.io/storj/pkg/kademlia/config.go:7:2: cannot find package "context" in any of:
/usr/lib/go-1.6/src/context (from $GOROOT)
/home/alebeta/storj/src/context (from $GOPATH)
/home/alebeta/storj/vendor/src/context

I'm running the node on Ubuntu Server 16.04 up to date.

Let me know if you need more logs or information.

Kind Regards,
Alebeta

@kaloyan-raev
Copy link
Member

It looks like you have an older version of Go. Make sure to manually install the latest one from https://golang.org/dl/

@alebeta90
Copy link
Author

@kaloyan-raev
thanks for you help, yes with Ubuntu 16.04 go version is 1.6.x and is better to use the go repo to have an up to date version.

Now I manage to perform the test.

Thanks and all the best

@alebeta90
Copy link
Author

thanks

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

2 participants