google-deepmind / graph_nets

Build Graph Nets in Tensorflow
https://arxiv.org/abs/1806.01261
Apache License 2.0
5.34k stars 783 forks source link

Confused about error 'No module named 'graph_nets'' in version 1.1.0 #107

Closed yangyugit closed 4 years ago

yangyugit commented 4 years ago

Use Minconda3, python=3.6.10, tensorflow=1.15.2, tensorflow-probability=0.8.0, dm-sonnet=1.36, gtaph-nets=1.1.0 And when I try 'import graph_nets as gn' -> ModuleNotFoundError: No module named 'graph_nets' However, when I change the version of graph_ntes from 1.1.0 to 1.0.5, the import in fine. Why? And the 1.0.5 version of graph_nets still will work fine? Thanks.

yangyugit commented 4 years ago

Ok, I have found it out. Change the version of Python from 3.6.10 to 3.7.4 in the MiniConda3.