Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

ImportError pour pynotify ??

1 réponse
Avatar
Bonsoir.

J'ai besoin d'installer blueman sur ma machine, pour cela j'ai
installé libnotify-0.7.4 et notify-python-0.1.1

Or quand je lance blueman-applet, j'ai comme résultat

$ blueman-applet
Traceback (most recent call last):
File "/usr/bin/blueman-applet", line 25, in <module>
import pynotify
ImportError: No module named pynotify

Pourtant dans mon répertoire local de bibliothèques python j'ai bien
pynotify :

$ ls /usr/lib/python2.7/site-packages/gtk-2.0/pynotify/
__init__.py __init__.pyc __init__.pyo _pynotify.la* _pynotify.so*

Alors pourquoi ai-je cette erreur ?

Merci !

À bientôt.

--
F. Delente

1 réponse

Avatar
Laurent Pointal
Un peu tard, mais au cas où...

tu n'aurais pas deux versions de Python installées ?

Du genre un 2.5 pour l'OS et ses outils (blueman-applet) et un 2.7 pour les
développements plus à jour.


wrote:

Bonsoir.

J'ai besoin d'installer blueman sur ma machine, pour cela j'ai
installé libnotify-0.7.4 et notify-python-0.1.1

Or quand je lance blueman-applet, j'ai comme résultat

$ blueman-applet
Traceback (most recent call last):
File "/usr/bin/blueman-applet", line 25, in <module>
import pynotify
ImportError: No module named pynotify

Pourtant dans mon répertoire local de bibliothèques python j'ai bien
pynotify :

$ ls /usr/lib/python2.7/site-packages/gtk-2.0/pynotify/
__init__.py __init__.pyc __init__.pyo _pynotify.la* _pynotify.so*

Alors pourquoi ai-je cette erreur ?

Merci !

À bientôt.



--
Laurent POINTAL -
3 allée des Orangers - 91940 Les Ulis - France
Tél. 01 69 29 06 59