diff --git a/src/linkahead/__init__.py b/src/linkahead/__init__.py
index 567748e3b3a58fb73b91f652d82ed10f818d6014..97203a2048c30ad8835e076b27007081681778b7 100644
--- a/src/linkahead/__init__.py
+++ b/src/linkahead/__init__.py
@@ -55,7 +55,7 @@ from .utils.get_entity import (get_entity_by_id, get_entity_by_name,
                                get_entity_by_path)
 
 try:
-    from .version import version as __version__
+    from .version import version as __version_   # pylint: disable=import-error
 except ModuleNotFoundError:
     version = "uninstalled"
     __version__ = version
diff --git a/src/linkahead/connection/connection.py b/src/linkahead/connection/connection.py
index 74dd23177c548dd640c6dd1c03ce4069c366802b..1bee0b779811134766132ff9457600254dc24d94 100644
--- a/src/linkahead/connection/connection.py
+++ b/src/linkahead/connection/connection.py
@@ -47,7 +47,7 @@ from ..exceptions import (ConfigurationError, HTTPClientError,
                           LoginFailedError)
 
 try:
-    from ..version import version
+    from ..version import version               # pylint: disable=import-error
 except ModuleNotFoundError:
     version = "uninstalled"
 
@@ -56,11 +56,12 @@ from .interface import CaosDBHTTPResponse, CaosDBServerConnection
 from .utils import make_uri_path, urlencode
 
 from typing import TYPE_CHECKING
+from .authentication.interface import CredentialsAuthenticator
 if TYPE_CHECKING:
     from typing import Optional, Any, Iterator, Union
     from requests.models import Response
     from ssl import _SSLMethod
-    from .authentication.interface import AbstractAuthenticator, CredentialsAuthenticator
+    from .authentication.interface import AbstractAuthenticator
 
 
 _LOGGER = logging.getLogger(__name__)