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

[Bug]: Unable to set up development environment in Mac #34262

Open
1 task done
tusm123 opened this issue Jun 28, 2024 · 4 comments
Open
1 task done

[Bug]: Unable to set up development environment in Mac #34262

tusm123 opened this issue Jun 28, 2024 · 4 comments
Assignees
Labels
help wanted Extra attention is needed triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@tusm123
Copy link

tusm123 commented Jun 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

Building Milvus ... # github.com/tikv/client-go/v2/util /Users/a123/go/pkg/mod/github.com/tikv/client-go/v2@v2.0.7/util/pd_interceptor.go:47:18: cannot use &InterceptedPDClientäå (value of type InterceptedPDClient) as pd.Client value in variable declaration: InterceptedPDClient does not implement pd.Client (wrong type for method ScanRegions) have ScanRegions(context.Context, ÄÅbyte, ÄÅbyte, int) (ÄÅpd.Region, error) want ScanRegions(context.Context, ÄÅbyte, ÄÅbyte, int, ...pd.GetRegionOption) (ÄÅpd.Region, error) # github.com/milvus-io/milvus/pkg/util/typeutil pkg/util/typeutil/schema.go:593:6: unknown field ValidData in struct literal of type schemapb.FieldData pkg/util/typeutil/schema.go:593:27: fieldData.GetValidData undefined (type *schemapb.FieldData has no field or method GetValidData) # github.com/milvus-io/milvus/pkg/util/etcd pkg/util/etcd/etcd_util.go:238:9: config.LCUrls undefined (type *"go.etcd.io/etcd/server/v3/embed".Config has no field or method LCUrls) pkg/util/etcd/etcd_util.go:243:9: config.LPUrls undefined (type *"go.etcd.io/etcd/server/v3/embed".Config has no field or method LPUrls) # github.com/milvus-io/milvus/internal/metastore/model internal/metastore/model/field.go:113:3: unknown field Nullable in struct literal of type schemapb.FieldSchema internal/metastore/model/field.go:148:32: fieldSchema.Nullable undefined (type *schemapb.FieldSchema has no field or method Nullable) make: *** ÄmilvusÅ Error 1

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

@tusm123 tusm123 added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 28, 2024
@yanliang567
Copy link
Contributor

@tusm123 what is you mac chip, do you try to compile milvus source?
/assign @tusm123
/unassign

@sre-ci-robot sre-ci-robot assigned tusm123 and unassigned yanliang567 Jun 29, 2024
@yanliang567 yanliang567 added help wanted Extra attention is needed triage/needs-information Indicates an issue needs more information in order to work on it. and removed kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 29, 2024
@xiaofan-luan
Copy link
Contributor

how did you build?

you should first run install_dep.sh then directly do make

@xiaofan-luan
Copy link
Contributor

seems that under your environment you can not pull the go dependencies

@tusm123
Copy link
Author

tusm123 commented Jul 1, 2024

There is a problem with this dependency tikv/client-go/v2@v2.0.7 . There is an incompatibility issue with the github.com/tikv/pd/client version it depends on;

The problem has been solved now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants