Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #5427

Re: [Python-de] python-pyspf Installation

From ratatouille <ratatouille@nimmini.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] python-pyspf Installation
Date 2019-01-28 22:18 +0100
Message-ID <mailman.406.1548710308.4816.python-de@python.org> (permalink)
References <954eea7e-9aed-f5e1-e4e4-a6b151fc14e0@chrisarndt.de> <20190128221822.2e7effa7@workstation>

Show all headers | View raw


Hallo!

Christopher Arndt <chris@chrisarndt.de> schrieb am 28.01.19 um 19:47:24 Uhr:

> Am 28.01.19 um 17:37 schrieb ratatouille:
> > Hallo!
> > 
> > Auf einem etwas älteren OS mit Python 2.7.12 bringt der Paketmanager kein
> > python-pyspf mit und auch kein python-policyd-spf.
> > 
> > Da ich absoluter Laie hinsichtlich Python bin, möchte ich hier nachfragen,
> > ob es mittels pip oder ähnlich möglich ist, diese Pakete nachzuinstallieren?  
> 
> Jein. Du kannst die Python-Bibliothek 'pyspf' vom Python Package Index
> (PyPI) mit pip installieren, dass ist dann aber am
> Paketverwaltungssystem des OS vorbei, d.h. du hast dann evtl. Dateien im
> Dateisystem, bei denen sich nicht mehr überprüfen lässt, woher sie
> installiert wurden. Außerdem musst du dich dann auch selbst um die
> Aktualisierung kümmern, falls eine neuere Version herauskommt.
> 
> Ein Paket namens "python-policyd-spf" habe ich nirgendwo gefunden, ich
> schätze mal, die entsprechende Distribution auf PyPI heißt "pypolicyd-spf"?
> 
> Wenn du ein Python Paket mit pip systemweit installieren willst, so das
> es für alle Benutzer verfügbar ist, musst du "sudo" benutzen, z.B.:
> 
>     sudo python -m pip install pyspf

Danke für Deine ausführliche Antwort!

Ich habe hier ein python-policyd-spf-1.0-45.1.noarch.rpm, das ich mit
rpm -i python-policyd-spf-1.0-45.1.noarch.rpm
installieren möchte, erhalte aber:

error: Failed dependencies:
	python-pyspf is needed by python-policyd-spf-1.0-45.1.noarch

python -m pip install pyspf ergibt
Requirement already satisfied: pyspf in /usr/lib/python2.7/site-packages (2.0.11)

python -m pip install policyd-pyspf ergibt
No matching distribution found for policyd-pyspf

Also das rpm findet das pyspf nicht, obwohl es installiert ist.
 
> Gruß, Chris

Grüße

  Andreas

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] python-pyspf Installation ratatouille <ratatouille@nimmini.de> - 2019-01-28 22:18 +0100

csiph-web