Hello,

I am a very new user to Ironpython, so hopefully I am not missing anything obvious. I read the FAQ and searched the Ironpython site and I couldn't find a solution to the problem I was having.

I have installed both CPython 2.7 and Ironpython 2.7 (the alpha version) and I am interested in using the networkx library (http://networkx.lanl.gov/) under Ironpython.

I installed networkx here:

C:\Python27\Lib\site-packages\networkx

using the cpython interpreter, the installation worked fine:

>>> import networkx as nx
>>> G=nx.Graph()
>>> G
<networkx.classes.graph.Graph object at 0x02C04250>

if I try to use the ironpython interpreter:

I get a:
File "<stdin>", line 1, in <module>
ImportError: No module named networkx

I tried manually adding the site.py file, to add networkx manually to the path, but even after adding it (and checking that it shows up in system.path) ironpython still doesn't see it.

Anyone have useful advice here?

Thank you very much,

Federico


_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to