Skip to content

Unable to run the test program #1

Description

@purohitsumit

Hi @JiaxuanYou ,
I tried to run this code but got following error:
python main.py Traceback (most recent call last): ........... from utils import * File "/XXXX/GraphGeneration/GraphRNN/utils.py", line 13, in <module> import community ImportError: No module named community

I solved this using following commands:
pip install --upgrade --force-reinstall python-louvain
and
pip install community
I suggest to add community module to the requirement file.

But even after this fix, i am unable to run the program. i get following error:
........ File "XXX/GraphGeneration/GraphRNN/model.py", line 988 prob = x_prev @ x_last.permute(0,2,1) ^ SyntaxError: invalid syntax

Do you have any suggestion to fix this error ? i am using Mac 10.12.6 and Python 2.7.13 :: Anaconda custom (x86_64)

Thanks
Sumit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions