Page 1 of 1

DenyHosts: Problem bei der Installation...

Posted: 2006-06-17 18:21
by dasilva
Ich wollte DenyHosts nach [url=http://www.howtoforge.com/preventing_ss ... sts}dieser Anleitung[/url] installieren aber bekam dann die Meldung, dass distutils fehlt.
Als ich das jetzt installieren wollte bekomme ich folgenden Fehler:

Code: Select all

/Distutils-1.0.2 # python setup.py install
Traceback (most recent call last):
  File "setup.py", line 30, in ?
    packages = ['distutils', 'distutils.command'],
  File "/tmp/DenyHosts-2.4b/Distutils-1.0.2/distutils/core.py", line 101, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/DenyHosts-2.4b/Distutils-1.0.2/distutils/dist.py", line 130, in __init__
    setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute 'get___doc__'
Was ist das Problem?

Danke für Hilfe!

Re: DenyHosts: Problem bei der Installation...

Posted: 2006-06-27 12:10
by matangi
DaSilva wrote:Ich wollte DenyHosts nach [url=http://www.howtoforge.com/preventing_ss ... sts}dieser Anleitung[/url] installieren aber bekam dann die Meldung, dass distutils fehlt.
Als ich das jetzt installieren wollte bekomme ich folgenden Fehler:

Code: Select all

/Distutils-1.0.2 # python setup.py install
Traceback (most recent call last):
  File "setup.py", line 30, in ?
    packages = ['distutils', 'distutils.command'],
  File "/tmp/DenyHosts-2.4b/Distutils-1.0.2/distutils/core.py", line 101, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/DenyHosts-2.4b/Distutils-1.0.2/distutils/dist.py", line 130, in __init__
    setattr(self, method_name, getattr(self.metadata, method_name))
AttributeError: DistributionMetadata instance has no attribute 'get___doc__'
Was ist das Problem?

Danke für Hilfe!
Das Problem sieht so aus als ob Dir einige Pakete fehlen. Ich vermute Du benutzt z.B eine Suse Distribution.

Um die Pakete nachzuinstallieren, gehst Du mit YAST" auf Software installieren und installiert die source Pakete zu Python. Bei einem graphischen System must Du nur das Kästchen hinter dem Paket anklicken (Quelle).

Danach wird das Kompilieren funktionieren.