pez2001 / razer_chroma_drivers

A collection of Linux drivers for Razer Chroma devices, it supports all lighting modes and includes a daemon for advanced effects + gui configuration app
GNU General Public License v2.0
231 stars 31 forks source link

razer-service: No module named 'notify2' #158

Closed kusayuzayushko closed 8 years ago

kusayuzayushko commented 8 years ago

Can't run the daemon on Archlinux.

$ razer-service                                                                                    
Traceback (most recent call last):
  File "/usr/bin/razer-service", line 6, in <module>
    from razer_daemon.daemon import daemonize
  File "/usr/lib/python3.5/site-packages/razer_daemon/daemon.py", line 23, in <module>
    import razer_daemon.hardware
  File "/usr/lib/python3.5/site-packages/razer_daemon/hardware/__init__.py", line 7, in <module>
    from razer_daemon.hardware.mouse import RazerMambaChromaWireless
  File "/usr/lib/python3.5/site-packages/razer_daemon/hardware/mouse.py", line 5, in <module>
    from razer_daemon.misc.battery_notifier import BatteryManager
  File "/usr/lib/python3.5/site-packages/razer_daemon/misc/battery_notifier.py", line 8, in <module>
    import notify2
ImportError: No module named 'notify2'
terricain commented 8 years ago

Should of raised the issue here :wink:. Install (asuming your on Ubuntu) apt-get install -y python3-notify2.

Has been fixed ready for the next release.

kusayuzayushko commented 8 years ago

Yep, installing python-notify2 from AUR solved this.

ghost commented 5 years ago

Installed, it declines to work on debian stretch 9. screenshot from 2019-01-04 16-42-10