Re: Mise à jour de python.
Bonsoir,
Je me permets de re-poster car je ne trouve nulle part de solution. De
ce que j'ai cru comprendre les paquets utilisant python vont être
refaits pour utiliser la version 2.5. Je suis actuellement sous Lenny et
je me trouve avec des logiciels utilisant la version 2.4 et d'autre la 2.5.
Je lance ceci :
"# PYCENTRAL=debug aptitude install"
et j'obtiens cela :
"Paramétrage de python2.5-minimal (2.5.2-3) ...
Linking and byte-compiling packages for runtime python2.5...
warning: Python C API version mismatch for module strop: This Python has
API version 1013, module strop has version 1012.
warning: Python C API version mismatch for module time: This Python has
API version 1013, module time has version 1012.
warning: Python C API version mismatch for module cStringIO: This Python
has API version 1013, module cStringIO has version 1012.
warning: Python C API version mismatch for module _locale: This Python
has API version 1013, module _locale has version 1012.
warning: Python C API version mismatch for module struct: This Python
has API version 1013, module struct has version 1012.
pycentral: pycentral rtinstall --ignore-errors=yes python2.5
warning: Python C API version mismatch for module operator: This Python
has API version 1013, module operator has version 1012.
pycentral: 11 packages with Python-Version info installed, 10 for
python2.5
pycentral: support exfalso for python2.5
warning: Python C API version mismatch for module select: This Python
has API version 1013, module select has version 1012.
warning: Python C API version mismatch for module fcntl: This Python has
API version 1013, module fcntl has version 1012.
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1891, in <module>
main()
File "/usr/bin/pycentral", line 1885, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1469, in run
pkg = DebPackage('package', pkgname, oldstyle=False)
File "/usr/bin/pycentral", line 303, in __init__
self.read_pyfiles()
File "/usr/bin/pycentral", line 345, in read_pyfiles
import subprocess
File "/usr/lib/python2.4/subprocess.py", line 380, in <module>
import pickle
File "/usr/lib/python2.4/pickle.py", line 36, in <module>
import warnings
File "/usr/lib/python2.4/warnings.py", line 258, in <module>
simplefilter("ignore", category=OverflowWarning, append=1)
NameError: name 'OverflowWarning' is not defined
dpkg : erreur de traitement de python2.5-minimal (--configure) :
le sous-processus post-installation script a retourné une erreur de
sortie d'état 1"
Et par conséquence quelques paquets non configurés.
J'ai un peu de mal à décrypter la chose.
Dois je prendre mon mal en patience en partant du principe qu'une
prochaine mise à jour réglera le problème ?
S'agit il d'un problème qui serait antérieur, ou rien à voir, ou normal ?
Me faut il ingurgiter les 300 pages de "Python c'est bon." aux Editions
Bidouille pour y trouver La Révélation ?
Il y a pas mal de rapport de bug ou discussions sur des problèmes
similaires mais je peine à concocter ma propre recette.
Une idée, une solution ?
Merci d'avance.
Antoine
Reply to: