I see the following log data for this error. I have raspberry pi 4 with Home Assistant 0.109.6
the log file follows
Log Details (ERROR)
Logger: homeassistant.bootstrap
Source: util/package.py:44
First occurred: 6:23:37 PM (1 occurrences)
Last logged: 6:23:37 PM
Error setting up integration hacs - received exception
Traceback (most recent call last):
File /usr/src/homeassistant/homeassistant/setup.py, line 50, in async_setup_component
return await task # type: ignore
File /usr/src/homeassistant/homeassistant/setup.py, line 129, in _async_setup_component
await async_process_deps_reqs(hass, config, integration)
File /usr/src/homeassistant/homeassistant/setup.py, line 294, in async_process_deps_reqs
hass, integration.domain
File /usr/src/homeassistant/homeassistant/requirements.py, line 78, in async_get_integration_with_requirements
hass, integration.domain, integration.requirements
File /usr/src/homeassistant/homeassistant/requirements.py, line 124, in async_process_requirements
if pkg_util.is_installed(req):
File /usr/src/homeassistant/homeassistant/util/package.py, line 44, in is_installed
return version(req.project_name) in req
File /usr/local/lib/python3.7/site-packages/pkg_resources/init.py, line 3145, in contains
return self.specifier.contains(item, prereleases=True)
File /usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py, line 703, in contains
item = parse(item)
File /usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py, line 31, in parse
return Version(version)
File /usr/local/lib/python3.7/site-packages/pkg_resources/_vendor/packaging/version.py, line 200, in init
match = self._regex.search(version)
TypeError: expected string or bytes-like object