-
-
Notifications
You must be signed in to change notification settings - Fork 115
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" during install #54
Comments
Sounds like a duplicate of #49 From your error message (thanks for sharing it) I see you're running quite old version of Go (
Source: https://blog.golang.org/using-go-modules Solution: update your Go version and try again? |
Paging dr. @mholt: people (incl. me) have had difficulties getting the binary built. I understand it's not a small task to get pre-built binaries automatically distributed, but in the meantime could we add to
|
Sure. That's an easy solution. |
Hi guys, I've updated my Go version:
But I can't still get the error when trying to download the package:
I don't have any experience with Go but I would be happy to help you setup a Github Action pipeline to create a binary / docker image. Best, |
You're right, it doesn't seem to work still with the
(I ran this inside a container by running Now there's a working binary in There might be something different w.r.t. how Go handles the dependency (modules') fetching with Setting up GitHub action pipeline to auto-build binaries sounds like a great idea - WDYT @mholt? |
Sure! ... how? 😅
Ah... I forgot... so in Go 1.13, GO111MODULE is still "auto" by default, which in Go 1.13, means that you have to be in a folder (or subfolder) that has a go.mod file in order for modules to be enabled. If you're installing the timeliner command, it's unlikely that that's the case. (But if you're in a Go project and you want to use timeliner as a library/dependency, then it probably is, but using timeliner as a library is not common...) So simply do This won't be needed in Go 1.14 onwards, I'm pretty sure. Merry Christmas! |
go version go1.14.1 darwin/amd64 and I still got this error. |
Also having this issue on 1.14.2. |
I am not really sure what is going on. Please read the above reply for the solution that is working for me. This should probably be taken up upstream in the lz4 repo instead: pierrec/lz4#62 Edit: Here's probably a more relevant issue in Go: golang/go#40276 |
Hey guys,
I'm getting the following error that prevents me from installing timeliner:
Best,
Nicolas
The text was updated successfully, but these errors were encountered: