Thanks to a lot of help from Jeff, plus some tinkering, I managed to solve a bunch of issues I was having with networkx, however, I have a minor error left over:

IronPython 2.7 Beta 1 (2.7.0.10) on .NET 4.0.30319.1
Type "help", "copyright", "credits" or "license" for more information.
>>> import networkx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "C:\Python27\Lib\site-packages\networkx\__init__.py", line 75, in <module
>
AttributeError: 'module' object has no attribute 'date'
>>> import networkx.sys
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "C:\Python27\Lib\site-packages\networkx\__init__.py", line 75, in <module
>
AttributeError: 'module' object has no attribute 'date'

I was playing around with the interpreter, and couldn't really pinpoint any obvious bug, but when I opened __init__.py in visual studio, then tried to debug, I got this mistake:

Running C:\Python27\Lib\site-packages\networkx\__init__.py
Remote process has been reset...
Exception: IronPython.Runtime.Exceptions.ImportException: No module named __future__

Could this be related? Or __future__ not being found on developer studio is another separate problem that I need to fix by manually adding the ironpython standard library? I added a variable *IRONPYTHONPATH* to my path in the advanced properties of windows 7, but that doesn't seem to work for visual studio.

Federico


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

Reply via email to