15-08-01 12:29:02 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform forecast
Traceback (most recent call last):
File "/home/pi/home-assistant/homeassistant/../homeassistant/helpers/entity_component.py", line 135, in _setup_platform
self.hass, platform_config, self.add_entities, discovery_info)
File "/home/pi/home-assistant/homeassistant/../homeassistant/components/sensor/forecast.py", line 87, in setup_platform
import forecastio as forecastio_
ImportError: No module named 'forecastio'
pip install python-forecastio>=1.3.3
(home-assistant) pi@raspberrypi2 ~/home-assistant $ pip list | grep forecast
python-forecastio (1.3.4)--
You received this message because you are subscribed to a topic in the Google Groups "Home Assistant Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/home-assistant-dev/gpVfPBmD8bw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/27802990-8af4-4770-9ab3-5170ad07a6e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Make sure you are running in the correct Python environment when you run that pip command. If you are running home assistant in a virtual environment, you'll need to also run pip in that virtual environment (usually activated with the source bin/activate command). Hopefully that helps.
On Monday, August 3, 2015, Nolan <nkgi...@gmail.com> wrote:
I gave that a shot and it installed okay but I'm getting the same errors from HA.--(home-assistant) pi@raspberrypi2 ~/home-assistant $ pip list | grep forecast
python-forecastio (1.3.4)
On Sunday, August 2, 2015 at 3:43:18 PM UTC-4, Ryan Kraus wrote:pip install python-forecastio>=1.3.3
On Saturday, August 1, 2015 at 12:38:39 PM UTC-4, Nolan wrote:15-08-01 12:29:02 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform forecast
Traceback (most recent call last):
File "/home/pi/home-assistant/homeassistant/../homeassistant/helpers/entity_component.py", line 135, in _setup_platform
self.hass, platform_config, self.add_entities, discovery_info)
File "/home/pi/home-assistant/homeassistant/../homeassistant/components/sensor/forecast.py", line 87, in setup_platform
import forecastio as forecastio_
ImportError: No module named 'forecastio'I tried adding the forecast.io component but it couldn't find the module. pip didn't have it either...How do I install the forecastio module?Thanks,Nolan
You received this message because you are subscribed to a topic in the Google Groups "Home Assistant Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/home-assistant-dev/gpVfPBmD8bw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assistant-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/27802990-8af4-4770-9ab3-5170ad07a6e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Thanks,Ryan Kraus
--
You received this message because you are subscribed to a topic in the Google Groups "Home Assistant Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/home-assistant-dev/gpVfPBmD8bw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to home-assistant-...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/home-assistant-dev/739fcbb6-0aaa-42f6-aeea-b69ce8665589%40googlegroups.com.
Great! I'm glad it is working for you now.
Thanks,Ryan Kraus
On Tue, Aug 4, 2015 at 12:41 PM, Ryan Kraus <rmk...@gmail.com> wrote:
Interesting. And I'm just checking all the bases here, you are launching HA like this:source bin/activatepython3 -m homeassistantAnother check that may be helpful is to runsource bin/activatewhich python3
On Tuesday, August 4, 2015 at 8:22:36 AM UTC-4, Nolan wrote:pi@raspberrypi2 ~/home-assistant $ source bin/activate
(home-assistant) pi@raspberrypi2 ~/home-assistant $ python3
Python 3.4.2 (default, Jul 7 2015, 11:48:18)
[GCC 4.6.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import forecastio
>>>
--
You received this message because you are subscribed to a topic in the Google Groups "Home Assistant Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/home-assistant-dev/gpVfPBmD8bw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to home-assistant-dev+unsub...@googlegroups.com.
To post to this group, send email to home-assi...@googlegroups.com.