Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform error sensor.picnic - No module named 'python_picnic_api' #1

Open
Veldkornet opened this issue Sep 4, 2020 · 5 comments
Open

Comments

@Veldkornet
Copy link

I tried doing the install, both HACS and manual.

But I seem to be getting the following when I check the config:
2020-09-04 20:01:09 ERROR (MainThread) [homeassistant.components.hassio] Platform error sensor.picnic - No module named 'python_picnic_api'

@MikeBrink
Copy link
Owner

Hi,

Have you already restarted home-assistant? Which version are you on?
This seems to be a problem with pip not installing the needed api client. Can you run the command "pip3 install python-picnic-api" or "pip install python-picnic-api"?

@Veldkornet
Copy link
Author

Veldkornet commented Sep 4, 2020

HomeAssistant won't restant because it gives the error 😣 I'm using Hassio, I'll try get in there..

Update:
Yup, installing the api with pip seems to have fixed it, at least it lets me reboot now

@klaasnicolaas
Copy link

I wanted to try out your integration today, but unfortunately I ran into exactly the same problem. From the point of view of user-friendliness, however, it is not useful to expect that users will install manual with pip themselves, after all, Home Assistant does this for you 🤔

I think this problem was caused by a mixed use of - and _ 🤔

@MikeBrink MikeBrink reopened this Nov 30, 2020
@MikeBrink
Copy link
Owner

I've reopened this issue, if someone has any clues on how to fix this I'll be glad to hear this.

So only fix I found so far is to restart my HA instance multiple times.

@SamBouwer
Copy link

I ran into this issue on hassio and resolved it by installing the integration first (I did it manually by copying over the picnic folder to the custom integrations folder). Then I restarted HA and I then added the configuration. Then a second restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants