Pushover - Could not install dependency

Hi!

I’m trying to send some push notifications to my phone, so I’ve added the following configuration to use Pushover for that:

notify:
  - platform: pushover
    name: homeassistant
    api_key: [my API key]
    user_key: [my user key]

When I restart Home Assistant I get the following error:

17-03-17 14:26:29 ERROR (MainThread) [homeassistant.setup] Not initializing notify.pushover because could not install dependency python-pushover==0.2
17-03-17 14:26:29 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform notify.pushover: Could not install all requirements.
17-03-17 14:26:29 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified

I had the same issue with Pushbullet before. That was the reason for me to switch to Pushover.

I’m using the current HassBian image.

Can anybody help me?

Achim

I’ve been running the All-in-one, so not sure how Hassbian handles installs. I wonder if you need to manually install pip to get dependencies. Have you tried manually installing python-pushover?

sudo apt-get update
sudo apt-get install python-pushover

You might need to install from within a virtual environment if Hassbian sets one up.

Hi!

Thank you for your answer but apt tells me that this package doesn’t exist.

However - today I restarted Home Assistant again and got a little bit more information in the log file:

17-03-18 16:56:05 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform pushover
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify/__init__.py", line 101, in async_setup_platform
    None, platform.get_service, hass, p_config, discovery_info)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify/pushover.py", line 32, in get_service
    from pushover import InitError
ImportError: No module named 'pushover'

I installed python-pushover with

sudo pip3 install python-pushover

It told me that the installation was successful but I still get the error.