[gufw,uwsgi ...] Souci avec python2.7/sysconfig.py (info)

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
chipster
Maître du Kyudo
Messages : 2063
Inscription : ven. 11 août 2006, 22:25
Localisation : Saint-Étienne (42)
Contact :

[gufw,uwsgi ...] Souci avec python2.7/sysconfig.py (info)

Message par chipster »

Salut

Pour informations, il y a plusieurs soucis avec le changement de la glibc et python2.7
D'après ce poste : https://bbs.archlinux.org/viewtopic.php?pid=1133707 il y a un problème avec le fichier /usr/lib/python2.7/sysconfig.py.
L'erreur vient d'ici :

Code : Tout sélectionner

_EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
Pour corriger le souci (si vous en avez !!!), il faut éditer le fichier sysconfig.py, chercher la ligne commençant par _EXEC_PREFIX et mettre ceci :

Code : Tout sélectionner

_EXEC_PREFIX = '/usr' # os.path.normpath(sys.exec_prefix)
Répondre