milvus-sdk-go icon indicating copy to clipboard operation
milvus-sdk-go copied to clipboard

[Bug]: go get -u github.com/milvus-io/milvus-sdk-go/v2 always return an error

Open spookyy opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When i run command "go get -u github.com/milvus-io/milvus-sdk-go/v2" it returns: go get: module github.com/milvus-io/milvus-sdk-go@upgrade found (v1.1.0), but does not contain package github.com/milvus-io/milvus-sdk-go/v2 then i tried: go get -u github.com/milvus-io/milvus-sdk-go/v2.0.0-alpha.3 it returns: go get: module github.com/milvus-io/milvus-sdk-go@upgrade found (v1.1.0), but does not contain package github.com/milvus-io/milvus-sdk-go/v2.0.0-alpha.3

plz tell me how i use the version v2.0.0-alpha.3

Expected Behavior

No response

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

spookyy avatar Nov 02 '21 09:11 spookyy

Hi @spookyy, from the error you provided it looks like you're trying to upgrade from sdk v1.1.0 to v2. Note that sdk-v2 is strictly for milvus2.0+, it cannot be used to access Milvus 1.x.

congqixia avatar Dec 08 '21 06:12 congqixia