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


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

Re: [Python-de] python-pyspf Installation

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From ratatouille <ratatouille@nimmini.de>
Newsgroups de.comp.lang.python
Subject Re: [Python-de] python-pyspf Installation
Date Mon, 28 Jan 2019 22:18:22 +0100
Lines 57
Message-ID <mailman.406.1548710308.4816.python-de@python.org> (permalink)
References <954eea7e-9aed-f5e1-e4e4-a6b151fc14e0@chrisarndt.de> <20190128221822.2e7effa7@workstation>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de BY4zBWHhrZusQFN6ZFmJTwJaAecnykYkigiJB0TeNd5g==
Return-Path <ratatouille@nimmini.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=nimmini.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:subject:subject:from:from :date:date; s=20160826; t=1548710304; x=1550524705; bh=/JzRh+FpG dT6heQIr6umhF9sSNso/ERx/4VMLgWBNp0=; b=aOFsZ1aYTEOQoiq5ewNxPl7TH E87tGUgkdp6p/VwY7kMIOaYDKVxyoZ5Gs0WL2UspOtLMG7NGVQNa09yvzgyTLhf5 WyO6L8YMS6U4r/MpAKfYKktAU/loe6jXZwp4YxwaS+osQwZeEHNV96G9jZ2iW5m0 mb1Hltw3VqVUhpdwCs=
X-Virus-scanned by amavisd-new at bitcorner.de
In-Reply-To <954eea7e-9aed-f5e1-e4e4-a6b151fc14e0@chrisarndt.de>
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.29
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <20190128221822.2e7effa7@workstation>
Xref csiph.com de.comp.lang.python:5427

Show key headers only | 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