GraphGAN
GraphGAN copied to clipboard
No module named src
为什么我运行时会报这个错误呢?
Traceback (most recent call last):
File "graph_gan.py", line 11, in
@1140325971 I solve this issue by running it in Pycharm.
export PYTHONPATH=<The path of GraphGAN>:$PYTHONPATH Adding your code dir to PYTHONPATH may help
@1140325971 I solve this issue by running it in Pycharm.
It works , thanks
You can add these two lines at the beginning of graph_gan.py(可以考虑在graph_gan.py前面加上两行): import sys sys.append.path("../../")
为什么我运行时会报这个错误呢? Traceback (most recent call last): File "graph_gan.py", line 11, in from src import utils ModuleNotFoundError: No module named 'src'