BorgwardtLab / TOGL

Topological Graph Neural Networks (ICLR 2022)
https://openreview.net/pdf?id=oxxUMeFwEHd
BSD 3-Clause "New" or "Revised" License
105 stars 20 forks source link

Failed to run ‘poetry install’ #5

Closed lizhou21 closed 2 years ago

lizhou21 commented 2 years ago

After poetry is installed, there exits " ValueError" when I run "poetry install". It prompts that " Directory .\TOGL-main\repos\pyper does not seem to be a Python package"? How can I solve this problem?

Pseudomanifold commented 2 years ago

This looks like you might be missing submodules. Please try executing the following commands:

git submodule init
git submodule update
lizhou21 commented 2 years ago

I have loaded the submodule before. But it is strange that yes still prompts: " Directory .\TOGL-main\repos\pyper does not seem to be a Python package"?

Pseudomanifold commented 2 years ago

Thanks for the clarification! Which poetry version are you using?

lizhou21 commented 2 years ago

Oh! I solved it. In fact, I failed to use "git submodule update", in which it prompts "fatal: Could not read from remote repository. …… ". So I directly git each submodule separately. But I mistakenly moved in only the contents of the subfolder "pyper".

Thanks so much for the reply.

Pseudomanifold commented 2 years ago

Great, happy to hear that the problem got resolved!