title: py2exe compiling error : invalid syntax (_socket3.py, line 183)
body: <p>i am trying to compile a python application in single exe.
  i am using python 2.7 and py2exe.</p>
  
  <p>modules used in my application</p>
  
  <ul>
  <li>PyQt4</li>
  <li>Pymongo</li>
  <li>Psutil</li>
  </ul>
  
  <p>when i start compiling i am getting following error :</p>
  
  <pre><code>*** searching for required modules ***
  error: compiling 'C:\Python27\lib\site-packages\gevent\_socket3.py' failed
      SyntaxError: invalid syntax (_socket3.py, line 183)
  </code></pre>
  
  <p>please tell me how to fix this error.</p>