wting / python-graph

Automatically exported from code.google.com/p/python-graph
Other
5 stars 4 forks source link

No module named pkg_resources #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run python-graph

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "Main_Exp.py", line 9, in <module>
    from Graph_Generator import Graph_Generator
  File "/home/kevin/SecurityML/src/Experiment/Graph_Generator.py", line 28, in <module>
    from pygraph.classes.graph import graph
  File "/usr/lib/pymodules/python2.6/pygraph/classes/graph.py", line 35, in <module>
    from pygraph.mixins.labeling import labeling
  File "/usr/lib/pymodules/python2.6/pygraph/mixins/__init__.py", line 33, in <module>
    __import__('pkg_resources').declare_namespace(__name__)
ImportError: No module named pkg_resources

What version of the product are you using? On what operating system?
python-graph-1.8.0 on Debian

Please provide any additional information below.

Original issue reported on code.google.com by manch...@gmail.com on 20 Aug 2011 at 8:09

GoogleCodeExporter commented 9 years ago
Which procedure have you adopted in order to install python-graph on your 
system?

Original comment by pmatiello on 20 Aug 2011 at 8:21

GoogleCodeExporter commented 9 years ago
I've download the python-graph from 
http://code.google.com/p/python-graph/downloads/list, unzip it then installed 
by following the instruction in the Readme file.

Original comment by manch...@gmail.com on 20 Aug 2011 at 8:28

GoogleCodeExporter commented 9 years ago
It seems that your Python installation is lacking setuptools. I believe you can 
install it through apt-get (the package is probably called python-setuptools or 
something similar).

Let me know if this works for you.

Original comment by pmatiello on 20 Aug 2011 at 8:34

GoogleCodeExporter commented 9 years ago
I installed python-pkg-resources, and python-setuptools, then it works fine 
now. Thanks a lot!!

Original comment by manch...@gmail.com on 20 Aug 2011 at 8:52

GoogleCodeExporter commented 9 years ago
Great! Closing issue.

Original comment by pmatiello on 20 Aug 2011 at 8:58