title: Problem using Python 2.6.6 and scapy 2.3.3 in CentOS 6
body: <p>I'm trying to use scapy 2.3.3 (that should work with Python 2.6.6) but I'm getting 'Execution RuntimeError' every time I try to import.
  <a href="https://i.stack.imgur.com/taXvF.png" rel="nofollow noreferrer">Scapy versions from github</a></p>
  
  <p>This is how I'm importing the modules:</p>
  
  <pre><code>import resource, os, sys
  filepath = '/home/filloy/scapy-2.3.1/scapy'
  sys.path.append(os.path.dirname(filepath))
  from scapy import all
  </code></pre>
  
  <p>An this is the error:</p>
  
  <pre><code>Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in &lt;type 'exceptions.AttributeError'&gt; ignored
  Traceback (most recent call last):
    File "test.py", line 10, in &lt;module&gt;
      sniff(prn=arp_monitor_callback, filter="arp", store=0)
  NameError: name 'sniff' is not defined
  </code></pre>
  
  <p>I cannot change the python version since the machine has to run in that configurations. I tried <a href="https://stackoverflow.com/questions/8177073/python-maximum-recursion-depth-exceeded#8177274">this</a>  and other variants with no result.</p>
  
  <p>Any idea would be appreciated.</p>
  
  <p>Thanks in advance.</p>