Closed rschuiling closed 2 years ago
statistics documentation statistics source (message by IssueLinks)
Hey there @fabaff, @thomdietrich, mind taking a look at this issue as it has been labeled with an integration (statistics
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
I don't know if it's related, but I got this problem too with a brand new venv. It turns out that pip install homeassistant
installs multidict version 6, but when I run check_config it downgrades it to version 5 (so the directory with the METADATA file actually disappears). If I run check_config again after that, it works.
Interesting. That's helpful. It's broken automation
integration for me and check config addon.
I think I see the issue. I think a zigpy
module is requesting 6.0.2 but homeassistant
is constraining it to <6.0.0
:
https://github.com/home-assistant/core/pull/64792/commits/5ca2fb4d0a9ed5b6b57ac663b2ea1daaf79f8801
Could try to constrain to multidict<6.0.0,>=6.0.2
Related: #65611 https://github.com/home-assistant/addons/issues/2374 https://github.com/home-assistant/addons/issues/2373 https://github.com/home-assistant/addons/issues/2377
Also, the integration has been wrongly tagged by the @probot-home-assistant bot. Should be zha
The problem
Checking the configuration for HA 2022.2.9 gives this error:
Fatal error while loading config: [[Errno 2] No such file or directory: '/usr/local/lib/python3.9/site-packages/multidict-6.0.2.dist-info/METADATA'
Someone suggested this could easily be fixed by updating the multidict package to 6. But since I am using HAOS, I don't think there is a way for me to do this. This is keeping me from updating to 2022.2.x (issue has been present since 2022.2.0).
What version of Home Assistant Core has the issue?
2022.2.9
What was the last working version of Home Assistant Core?
2021.12.10
What type of installation are you running?
Home Assistant OS
Integration causing the issue
core
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response