fix compat.py
@@ -8,7 +8,7 @@ This module handles import compatibility issues between Python 2 and
Python 3.
"""
-from .packages import chardet
+import chardet
import sys
@@ -45,7 +45,8 @@ if is_py2:
import cookielib
from Cookie import Morsel
from StringIO import StringIO
- from .packages.urllib3.packages.ordered_dict import OrderedDict
+
+ from urllib3.packages.ordered_dict import OrderedDict
builtin_str = str
bytes = str
