Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5429
| From | ratatouille <ratatouille@nimmini.de> |
|---|---|
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] python-pyspf Installation |
| Date | 2019-01-28 23:42 +0100 |
| Message-ID | <mailman.411.1548715332.4816.python-de@python.org> (permalink) |
| References | <cf732110-b523-4701-8f02-e8c0de7708a0@chrisarndt.de> <20190128234206.34bfbdbb@workstation> |
Christopher Arndt <chris@chrisarndt.de> schrieb am 28.01.19 um 22:34:13 Uhr:
> Am 28.01.19 um 22:18 schrieb ratatouille:
> > error: Failed dependencies:
> > python-pyspf is needed by python-policyd-spf-1.0-45.1.noarch
> >
> > Also das rpm findet das pyspf nicht, obwohl es installiert ist.
>
> Dependencies von RPM-Paketen funktionieren nur innerhalb der
> Distributionspakete. Python-Pakete, die von PyPI installierst, kennt das
> RPM-System nicht. Wenn es kein RPM-Paket 'python-pyspf' für deine Distro
> gibt, dann ist das RPM-Paket 'python-policyd-spf' auch nicht mit deiner
> Distro kompatibel.
>
> Wenn du die Software benutzen willst, musst du also herausfinden, auf
> welchem Python-Paket (nicht zu verwechseln mit RPM-Paket)
> 'python-policyd-spf' beruht (höchstwahrscheinlich 'pypolicyd-spf') und
> dieses, wie von mir beschrieben mit pip 'von Hand' installieren.
>
> Es kann allerdings sein, dass das RPM-Paket noch zusätzliche Komponenten
> enthält, die im reinen Python-Pakete nicht enthalten sind, wie z.B.
> Konfigurationsdateien, Systemd-Units, Log-Verzeichnisse usw.
Danke recht herzlich für Deine Ausführungen! Es scheint gut gegangen zu sein.
Ich habe dann auch noch python3 aus der Distribution installiert.
python3 -m pip install pyspf
Downloading/unpacking pyspf
Downloading pyspf-2.0.11.tar.gz (63kB): 63kB downloaded
Running setup.py (path:/tmp/pip_build_root/pyspf/setup.py) egg_info for package pyspf
Installing collected packages: pyspf
Running setup.py install for pyspf
changing mode of build/scripts-3.4/type99.py from 644 to 755
changing mode of build/scripts-3.4/spfquery.py from 644 to 755
changing mode of /usr/bin/type99.py to 755
changing mode of /usr/bin/spfquery.py to 755
Successfully installed pyspf
Cleaning up...
python3 -m pip install pypolicyd-spf
Downloading/unpacking pypolicyd-spf
Downloading pypolicyd-spf-2.0.2.tar.gz
Running setup.py (path:/tmp/pip_build_root/pypolicyd-spf/setup.py) egg_info for package pypolicyd-spf
Installing collected packages: pypolicyd-spf
Running setup.py install for pypolicyd-spf
changing mode of build/scripts-3.4/policyd-spf from 644 to 755
changing mode of /usr/bin/policyd-spf to 755
Successfully installed pypolicyd-spf
Cleaning up...
Jetzt will ich mal versuchen, das anzuwenden.
> Am besten fragst du mal auf der Projekthomepage nach, wie die Software
> auf deiner Distribution am besten installiert wird:
>
> https://launchpad.net/pypolicyd-spf
>
>
> Chris
Grüße
Andreas
Back to de.comp.lang.python | Previous | Next | Find similar
Re: [Python-de] python-pyspf Installation ratatouille <ratatouille@nimmini.de> - 2019-01-28 23:42 +0100
csiph-web