Hue [py3] Fixing charset_normalizer import
@@ -44,8 +44,12 @@ import urllib3
import warnings
from .exceptions import RequestsDependencyWarning
-# remove chardet dependancy
+try:
+ from charset_normalizer import __version__ as charset_normalizer_version
+except ImportError:
charset_normalizer_version = None
+
+# remove chardet dependancy
chardet_version = None
def check_compatibility(urllib3_version, chardet_version, charset_normalizer_version):
