diff --git a/spyderlib/utils/external/path.py b/spyderlib/utils/external/path.py
index <HASH>..<HASH> 100644
--- a/spyderlib/utils/external/path.py
+++ b/spyderlib/utils/external/path.py
@@ -62,7 +62,6 @@ _base = str
 _getcwd = os.getcwd
 try:
     if os.path.supports_unicode_filenames:
-    import locale
         _base = unicode
         _getcwd = os.getcwdu
 except AttributeError:
External path library: Remove unneeded import which was causing a crash after last update