diff --git a/scapy/themes.py b/scapy/themes.py
index 432571424428c3bee7172bf214f6c1a49fb2a328..866de0e151e5dc5cf6e670c9ffcd91926741f158 100644
--- a/scapy/themes.py
+++ b/scapy/themes.py
@@ -3,7 +3,6 @@
 ## Copyright (C) Philippe Biondi <phil@secdev.org>
 ## This program is published under a GPLv2 license
 
-import config
 
 ##################
 ## Color themes ##
@@ -271,3 +270,5 @@ class ColorPrompt:
         except:
             return self.__prompt
 
+
+import config