DenyHosts: Problem bei der Installation...

Rund um die Sicherheit des Systems und die Applikationen
Post Reply
dasilva
Posts: 22
Joined: 2006-03-09 20:30
 

DenyHosts: Problem bei der Installation...

Post 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!
matangi
Posts: 11
Joined: 2006-05-29 08:51
 

Re: DenyHosts: Problem bei der Installation...

Post 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.
Post Reply