pydgraph icon indicating copy to clipboard operation
pydgraph copied to clipboard

[QUESTION]: Import pydgraph error

Open momocat-aric opened this issue 2 years ago • 1 comments

Question.

Hi,I'm using dgraph to do some testing, my server version is 23.0.1, and I installed the pydgraph with the commond:
pip install pydgraph==23.0.0. During the installation, I got the warning:

WARNING: The candidate selected for download or install is a yanked version: 'pydgraph' candidate (version 23.0.0 at https://files.pythonhosted.org/packages/b8/cd/c0522b9ea685820aebab3317398c019236ee674ebc3a7f331f8c3a216535/pydgraph-23.0.0-py3-none-any.whl (from https://pypi.org/simple/pydgraph/) (requires-python:>=3.7)) Reason for being yanked: module discovery error: v23.0.0 will fail to import and report "ModuleNotFoundError: No module named 'api_pb2'"

After installed, I typed: import pydgraph and the following error occurred: No module named 'api_pb2' And I didn't find any installation information for 'api_pb2'. Is there any setup things I missed? Thanks for any advices and help in advance.

Env: laptop: Mac M1, MacOS: Sonoma 14.0 python: 3.9.18

momocat-aric avatar Oct 31 '23 01:10 momocat-aric

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]