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

[Question] Build local development environment #11

Open
1 task done
JackyYangPassion opened this issue Oct 19, 2023 · 1 comment
Open
1 task done

[Question] Build local development environment #11

JackyYangPassion opened this issue Oct 19, 2023 · 1 comment

Comments

@JackyYangPassion
Copy link
Contributor

JackyYangPassion commented Oct 19, 2023

Problem Type (问题类型)

others (please comment below)

Before submit

  • I had searched in the issues and found no similar issues.

Environment (环境信息)

python 3.10
Pycharm
mac

Your Question (问题描述)

Use pycharm to run test.py and report an error

Traceback (most recent call last):
  File "/Users/yangjiaqi/Documents/hugegraph_concurrency/repo/incubator-hugegraph-ai/hugegraph-python/example/test.py", line 18, in <module>
    from src.client import PyHugeClient
ModuleNotFoundError: No module named 'src'

Process finished with exit code 1

Root cause:

image

Solution:

result

@simon824
Copy link
Member

has been fix in #17
image
or we can set env like:
export PYTHONPATH=$(pwd)/hugegraph-llm/src:$(pwd)/hugegraph-ml/src:$(pwd)/hugegraph-python-client/src

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