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

cannot find package "github.com/pierrec/lz4/v3" #62

Closed
pinkumohikan opened this issue Dec 19, 2019 · 2 comments
Closed

cannot find package "github.com/pierrec/lz4/v3" #62

pinkumohikan opened this issue Dec 19, 2019 · 2 comments

Comments

@pinkumohikan
Copy link

Hi, I can't go get "pierrec/lz4/v3".

$ go get -v github.com/pierrec/lz4/v3
github.com/pierrec/lz4 (download)
package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of:
	/usr/local/Cellar/go/1.13.5/libexec/src/github.com/pierrec/lz4/v3 (from $GOROOT)
	/Users/my-user/go/src/github.com/pierrec/lz4/v3 (from $GOPATH)

environment

$ uname -a
Darwin my-mac.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
$ go version
go version go1.13.5 darwin/amd64
@pierrec
Copy link
Owner

pierrec commented Dec 20, 2019

Try this:

GO111MODULE=on go get github.com/pierrec/lz4/v3

See using Go modules for more information.

@pierrec pierrec closed this as completed Dec 20, 2019
@MatthewDolan
Copy link

I experienced this same issue while using dep to attempt to vendor this package:

v3.2.0: "github.com/pierrec/lz4" imports "github.com/pierrec/lz4/v3/internal/xxh32", which contains malformed code: no package exists at "github.com/pierrec/lz4/v3/internal/xxh32"

I know dep is being sunset in many projects right now but it did block upgrading for me.

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

3 participants