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 get the golang package of clientv3 #11808

Closed
dxvgef opened this issue Apr 24, 2020 · 6 comments
Closed

Cannot get the golang package of clientv3 #11808

dxvgef opened this issue Apr 24, 2020 · 6 comments
Labels

Comments

@dxvgef
Copy link

dxvgef commented Apr 24, 2020

I imported go.etcd.io/etcd/clientv3 in the project, and I get an error when executing the go mod tidy command:

github.com/coreos/bbolt: github.com/coreos/bbolt@v1.3.4: parsing go.mod:
         module declares its path as: go.etcd.io/bbolt
                 but was required as: github.com/coreos/bbolt

I am in a hurry to work now, how can I solve it quickly?

@gdbelvin
Copy link

use etcd v3.4.x

@dxvgef
Copy link
Author

dxvgef commented May 19, 2020

use etcd v3.4.x

I use 'go get' command could not find the v3.4 version, how did you do it?

@gdbelvin
Copy link

gdbelvin commented May 19, 2020

With the script here: #11154

Example: google/trillian#2090

@stale
Copy link

stale bot commented Aug 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.

@asmexcaliburwoods
Copy link

asmexcaliburwoods commented Jul 23, 2021

This can be fixed with GO111MODULE=on && unset GOPATH && go mod download go.etcd.io/etcd@v3.5.0

@lishaoshu1240
Copy link

i have the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants