HACS Integration

I cannot install HACS integration.
After HASSIO restart, im going to integrations/HACS but nothing happens.
In logs I Have got:

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 136, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 130, in post
    return await super().post(request)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 48, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 60, in post
    handler, context={"source": config_entries.SOURCE_USER}
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 66, in async_init
    flow = await self._async_create_flow(handler, context=context, data=data)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 638, in _async_create_flow
    await async_process_deps_reqs(self.hass, self._hass_config, integration)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 292, in async_process_deps_reqs
    hass, integration.domain
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 51, in async_get_integration_with_requirements
    hass, integration.domain, integration.requirements
  File "/usr/src/homeassistant/homeassistant/requirements.py", line 87, in async_process_requirements
    if pkg_util.is_installed(req):
  File "/usr/src/homeassistant/homeassistant/util/package.py", line 45, in is_installed
    return version(req.project_name) in req
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3138, 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

Other integrations works fine.

How did you install?

What is the output of

ls -la /config/custom_components/hacs

Just unzipped hacs.zip from repo

drwxr-xr-x    7 root     root          4096 Dec 31 13:44 .
drwxr-xr-x    5 root     root          4096 Dec 31 13:44 ..
drwxr-xr-x    2 root     root          4096 Dec 31 13:44 .translations
-rwxr--r--    1 root     root          7580 Dec 27 17:38 __init__.py
-rwxr--r--    1 root     root          3572 Dec 27 17:38 config_flow.py
-rwxr--r--    1 root     root          1796 Dec 27 17:38 configuration_schema.py
-rwxr--r--    1 root     root          3885 Dec 27 17:39 const.py
-rwxr--r--    1 root     root          1748 Dec 27 17:38 constrains.py
drwxr-xr-x    2 root     root          4096 Dec 31 13:44 hacsbase
drwxr-xr-x    2 root     root          4096 Dec 31 13:44 handler
drwxr-xr-x    2 root     root          4096 Dec 31 13:44 helpers
-rwxr--r--    1 root     root          2144 Dec 27 17:38 http.py
-rwxr--r--    1 root     root           573 Dec 27 17:39 manifest.json
drwxr-xr-x    2 root     root          4096 Dec 31 13:44 repositories
-rwxr--r--    1 root     root          2453 Dec 27 17:38 sensor.py
-rwxr--r--    1 root     root           489 Dec 27 17:38 services.yaml
-rwxr--r--    1 root     root          3024 Dec 27 17:38 setup.py
-rwxr--r--    1 root     root           699 Dec 27 17:38 store.py
-rwxr--r--    1 root     root         13690 Dec 27 17:38 ws_api_handlers.py

A lot of people miss the .translations directory (and it’s contents).

Perhaps another restart?

All files in hacs directory are fine.
Restart did not helped.

I personally have no further suggestions. Post an issue on github (like the docs say :slight_smile: )