-
Notifications
You must be signed in to change notification settings - Fork 419
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
InvalidVersion on importing ytmusicapi #1336
Comments
importing "hi-I-am-busy" bu why would it be a problem from the AD addon (not even AD itself) that some unrelated packages (lib) isnt installable without extra efford?? |
This is a Python issue, there are multiple issues created around different Python projects about this. Here are some:
|
I havn't been able to find references to other packages causing the same problem for AD, also this error did not only occur on python 3.9, as I had the same error on AD 4.0.8. I've only encountered this error for ytmusic api in the context of AD, which is why I took it up here first. I'll take up the issue on the ytmusic api page instead, or perhaps pkg_resources.. |
The add-on that had AD 4.0.8 was not running Python 3.9... |
I see.. It was just the add-on not running 3.9. |
I found the actual issue... edit: not the actual issue, but it was another issue even after forking ytmusicapi and replacing pkg_resources with importlib_resources. |
AppDaemon version: 4.1.0
HA: Supervisor 6.2 & core-2021.8.8
Importing ytmusicapi will throw
InvalidVersion
, possibly related to pkg_resources. My config:And the resulting error log:
The text was updated successfully, but these errors were encountered: