Does not match go tool version "go1.11.2"

759 views
Skip to first unread message

Freddy Martinez

unread,
Nov 26, 2018, 11:08:51 PM11/26/18
to golang-nuts

Hey Guys.. I'm really new with go (only 4 days) and I'm trying to install graphql-go and I have this error


freddy@Freddys-MacBook-Pro:~/go$ go get github.com/graphql-go/graphql

# internal/race

compile: version "go1.11" does not match go tool version "go1.11.2"

# unicode/utf8

compile: version "go1.11" does not match go tool version "go1.11.2"

# errors

compile: version "go1.11" does not match go tool version "go1.11.2"

# runtime/internal/sys

compile: version "go1.11" does not match go tool version "go1.11.2"

# math/bits

compile: version "go1.11" does not match go tool version "go1.11.2"

# encoding

compile: version "go1.11" does not match go tool version "go1.11.2"

# unicode/utf16

compile: version "go1.11" does not match go tool version "go1.11.2"

# github.com/graphql-go/graphql/language/kinds

compile: version "go1.11" does not match go tool version "go1.11.2"

# github.com/graphql-go/graphql/language/source

compile: version "go1.11" does not match go tool version "go1.11.2"

# unicode

compile: version "go1.11" does not match go tool version "go1.11.2"

# internal/cpu

compile: version "go1.11" does not match go tool version "go1.11.2"

# runtime/internal/atomic

compile: version "go1.11" does not match go tool version "go1.11.2"

# sync/atomic

compile: version "go1.11" does not match go tool version "go1.11.2"



What does this error means ?

Regards

Ian Lance Taylor

unread,
Nov 26, 2018, 11:50:53 PM11/26/18
to freddy...@gmail.com, golang-nuts
It means that you are using compiler version 1.11 with pre-built
standard library packages built by version 1.11.2. I'm not sure how
that could happen, unless perhaps you installed 1.11, copied the go
tools somewhere, then installed 1.11.2, then copied them back. I
suggest that you remove your current installation entirely and start
afresh.

Ian

Freddy Martinez

unread,
Nov 27, 2018, 8:35:36 AM11/27/18
to Ian Lance Taylor, golang-nuts
Thanks Ian

It works now

Regards


=============================================
Freddy Martínez García
Software Engineer
B.S. Computer Science

LinkedIn: https://ar.linkedin.com/in/freddy-martinez-garcia-47157259

“If you give someone a program, you will frustrate them for a day;
if you teach them how to program, yo will frustrate them for a lifetime.”

 
David Leinweber

El día 27 de noviembre de 2018 a las 01:50:25, Ian Lance Taylor (ia...@golang.org) escrito:

Reply all
Reply to author
Forward
0 new messages