On eclipse, using the PyDev plugin (python),I am trying to use the networkx library. It was not there by default so I downloaded the file networkx-1.10-py3.4.egg (md5)
from this source: https://pypi.python.org/pypi/networkx/
I added the library to my project using the steps provided in the answer to this question: How to add python "libraries" to Eclypse and pydev
Howver, when I run my program, I get the following error:
Traceback (most recent call last):
File "C:\Users\zjalmahmoud\workspace\Baysian_Network\bayes_net_inference.py", line 1, in <module>
import networkx as nx
File "C:\Users\zjalmahmoud\workspace\Baysian_Network\networkx-1.10-py3.4.egg\networkx\__init__.py", line 68, in <module>
File "C:\Users\zjalmahmoud\workspace\Baysian_Network\networkx-1.10-py3.4.egg\networkx\utils\__init__.py", line 2, in <module>
File "C:\Users\zjalmahmoud\workspace\Baysian_Network\networkx-1.10-py3.4.egg\networkx\utils\decorators.py", line 7, in <module>
ImportError: No module named 'decorator'
How can I solve my problem? Thanks.