gitPushNotify icon indicating copy to clipboard operation
gitPushNotify copied to clipboard

Привет

Open ser-mk opened this issue 10 years ago • 3 comments

Заинтересовал ваш, проект демона... Только вот незадача ругается на модуль pynotify ImportError: No module named pynotify нагуглил что есть модуль py-notify но не то Большой вопрос откуда вы этот модуль брали?)

ser-mk avatar Oct 23 '15 18:10 ser-mk

А какая версия python используется? Но у меня на Ubuntu 14.04 есть:

$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pynotify
>>> pynotify.init('test')
True
$ dpkg -S 'notify-send'
libnotify-bin: /usr/share/man/man1/notify-send.1.gz
libnotify-bin: /usr/bin/notify-send

То есть поставить "apt-get install libnotify" и должно работать. Другая библиотека может даже лучше будет, надо смореть что поддерживается сейчас и развивается, а то libnotify полуживая (http://www.galago-project.org/docs/api/libnotify/).

antonfisher avatar Oct 23 '15 19:10 antonfisher

Спасибо, Антон, за ответ. Надо было вот такую библиотеку установить sudo apt-get install python-notify система кубунта 14,04 и питон 2,7

ser-mk avatar Oct 23 '15 20:10 ser-mk

Хехе, точно, у меня есть такая:

$ apt-cache show python-notify
Package: python-notify
...
python-notify provides just the Python bindings for libnotify.

antonfisher avatar Oct 23 '15 21:10 antonfisher