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

Problem with install on Ubuntu / Debian #17

Open
soulteary opened this issue Sep 14, 2022 · 1 comment
Open

Problem with install on Ubuntu / Debian #17

soulteary opened this issue Sep 14, 2022 · 1 comment

Comments

@soulteary
Copy link
Contributor

I tried to complete the installation of the base package using the command below

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \
pip install milvus && \
pip cache purge

When I try to run hello-world, it prompts that the google package is missing.

python ./usr/local/lib/python3.9/site-packages/milvus/examples/hello_milvus.py

  File "//./usr/local/lib/python3.9/site-packages/milvus/examples/hello_milvus.py", line 13, in <module>
    from pymilvus import (
  File "/usr/local/lib/python3.9/site-packages/pymilvus/__init__.py", line 13, in <module>
    from .client.stub import Milvus
  File "/usr/local/lib/python3.9/site-packages/pymilvus/client/stub.py", line 3, in <module>
    from .grpc_handler import GrpcHandler
  File "/usr/local/lib/python3.9/site-packages/pymilvus/client/grpc_handler.py", line 12, in <module>
    from ..grpc_gen import milvus_pb2_grpc
  File "/usr/local/lib/python3.9/site-packages/pymilvus/grpc_gen/milvus_pb2_grpc.py", line 5, in <module>
    from . import common_pb2 as common__pb2
  File "/usr/local/lib/python3.9/site-packages/pymilvus/grpc_gen/common_pb2.py", line 5, in <module>
    from google.protobuf.internal import enum_type_wrapper
ModuleNotFoundError: No module named 'google'
@liyaodev
Copy link

@soothing-rain I had the same problem,Missing 'google' module

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

2 participants