Hi all,
I’m trying to use networkx module in GH python. I’ve added the source path in python editor, and the sys.path also shows the correct local folder. Somehow, it still fails to import the networkx module.
Could be that you didn’t unpack/unzip/install the networkx module properly, I wrote a bit about this here that might help. You can also try moving the module to the default Rhino script folder* to help troubleshoot/rule out potential path issues. Also note that networkx version beyond 1.5 may not work with IronPython.
You save my day. Once I download networkx1.5 and place in Rhino script folder, everything works very well! Just out of curiosity, I still don’t get it why gh python doesn’t recognize the indicated path.