title: ImportError: No module named py31compat
body: <p>i am trying to install gensim using </p>
  
  <pre><code>sudo -H pip install --upgrade gensim
  </code></pre>
  
  <p>but it is giving me this error :</p>
  
  <pre><code>  File "setup.py", line 301, in &lt;module&gt;
      include_package_data=True,
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command                      /install.py", line 67, in run
      self.do_egg_install()
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command /install.py", line 98, in do_egg_install
      easy_install = self.distribution.get_command_class('easy_install')
    File "/usr/local/lib/python2.7/dist-packages/setuptools/dist.py", line 576, in get_command_class
      self.cmdclass[command] = cmdclass = ep.load()
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load
      return self.resolve()
    File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
  module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/usr/local/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 47, in &lt;module&gt;
  from setuptools.sandbox import run_setup
    File "/usr/local/lib/python2.7/dist-packages/setuptools/sandbox.py", line 15, in &lt;module&gt;
      import pkg_resources.py31compat
  ImportError: No module named py31compat
  </code></pre>
  
  <p>please help me, in installing gensim. i googled it, but i am not able to find the solution.</p>