snap-stanford / GraphGym

Platform for designing and evaluating Graph Neural Networks (GNN)
Other
1.69k stars 185 forks source link

An error occurs when importing graphgym.config #58

Open pfl-cs opened 1 year ago

pfl-cs commented 1 year ago

Hi, When I run the script 'run_metalink.sh' (in brach meta_link), an ImportError occurs. The traceback messages are shown as follows.

Traceback (most recent call last): File "main.py", line 8, in <module> from graphgym.config import cfg, dump_cfg, load_cfg, set_out_dir, set_run_dir ImportError: cannot import name 'set_out_dir' from 'graphgym.config' (/usr/local/lib/python3.8/dist-packages/graphgym/config.py)

How can I fix the issue?

JanineCHEN commented 1 year ago

Encounter same issue here, please advise @JiaxuanYou , thank you very much in advance!

AAAAgito commented 7 months ago

I have encountered same issue, and problem solved with executing pip install -e .