incubator-hugegraph-ai
incubator-hugegraph-ai copied to clipboard
[Question] Build local development environment
Problem Type (问题类型)
others (please comment below)
Before submit
- [X] 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:
Solution:
has been fix in #17
or we can set env like:
export PYTHONPATH=$(pwd)/hugegraph-llm/src:$(pwd)/hugegraph-ml/src:$(pwd)/hugegraph-python-client/src