lib / pq

Pure Go Postgres driver for database/sql
https://pkg.go.dev/github.com/lib/pq
MIT License
9.01k stars 910 forks source link

can't install package with version "go1.13.7" #938

Closed leaderiop closed 4 years ago

leaderiop commented 4 years ago

i tried to install the package on my environment manjaro with Go version 1.13.7 but my compiler can't compile the source code because of the mismatch of the compiler version i run the command : go get github.com/lib/pq result : `# runtime/internal/sys compile: version "go1.13.7" does not match go tool version "go1.13.6"

internal/race

compile: version "go1.13.7" does not match go tool version "go1.13.6"

unicode

compile: version "go1.13.7" does not match go tool version "go1.13.6"

internal/cpu

compile: version "go1.13.7" does not match go tool version "go1.13.6"

math/bits

compile: version "go1.13.7" does not match go tool version "go1.13.6"

container/list

compile: version "go1.13.7" does not match go tool version "go1.13.6"

unicode/utf8

compile: version "go1.13.7" does not match go tool version "go1.13.6"

runtime/internal/atomic

compile: version "go1.13.7" does not match go tool version "go1.13.6"

crypto/internal/subtle

compile: version "go1.13.7" does not match go tool version "go1.13.6"

vendor/golang.org/x/crypto/internal/subtle

compile: version "go1.13.7" does not match go tool version "go1.13.6"

crypto/subtle

compile: version "go1.13.7" does not match go tool version "go1.13.6"

internal/nettrace

compile: version "go1.13.7" does not match go tool version "go1.13.6"

vendor/golang.org/x/crypto/cryptobyte/asn1

compile: version "go1.13.7" does not match go tool version "go1.13.6"

vendor/golang.org/x/crypto/curve25519

compile: version "go1.13.7" does not match go tool version "go1.13.6"

github.com/lib/pq/oid

compile: version "go1.13.7" does not match go tool version "go1.13.6"

sync/atomic

compile: version "go1.13.7" does not match go tool version "go1.13.6"

runtime/cgo

compile: version "go1.13.7" does not match go tool version "go1.13.6"`

leaderiop commented 4 years ago

the probleme is solved it was in the environment configuration