diff --git a/scapy/main.py b/scapy/main.py
index 100fdcdc60874531eb76fc1314a5d4108b283d1f..1513eac89c482e6d832f60873b7175df95269eb7 100644
--- a/scapy/main.py
+++ b/scapy/main.py
@@ -480,16 +480,11 @@ def interact(mydict=None,argv=None,mybanner=None,loglevel=20):
         banner = the_banner + " using IPython %s\n" % IPython.__version__
         from IPython.terminal.embed import InteractiveShellEmbed
         from IPython.terminal.prompts import Prompts, Token
-        from IPython.utils.generics import complete_object
         from traitlets.config.loader import Config
         from scapy.packet import Packet
 
         cfg = Config()
 
-        @complete_object.when_type(Packet)
-        def complete_packet(obj, prev_completions):
-            return prev_completions + [fld.name for fld in obj.fields_desc]
-
         try:
             get_ipython
         except NameError: