title: How to install the guess_language package in Python
body: <p>This question might be trivial but, honesty, I can't figure out as I am new to python.</p>
  
  <p>I run Python 2.7.3 and the aforementioned package can be found <a href="https://bitbucket.org/spirit/guess_language" rel="nofollow">here</a></p>
  
  <p>I would really appreciate if you could help make sure that I have installed it correctly on my laptop. FYI here are the outputs of the commands <strong><em>$ ./setup.py install</em></strong> and <strong><em>$ python2 setup.py install</em></strong> respectively.</p>
  
  <p><strong>$ ./setup.py install</strong></p>
  
  <pre><code>running install
  running build
  running build_py
  creating build/lib
  creating build/lib/guess_language
  copying guess_language/__main__.py -&gt; build/lib/guess_language
  copying guess_language/__init__.py -&gt; build/lib/guess_language
  copying guess_language/console_mode.py -&gt; build/lib/guess_language
  creating build/lib/guess_language/data
  copying guess_language/data/__init__.py -&gt; build/lib/guess_language/data
  creating build/lib/guess_language/data/models
  copying guess_language/data/models/az.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/tl.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/pt.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/hu.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/so.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/pt_br.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/da.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/tn.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/fr.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/fi.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/__init__.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/is.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/id.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/bg.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/la.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sl.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/pl.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ca.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ru.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sk.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/lt.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ne.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/af.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/haw.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sq.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/nl.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ceb.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/nso.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/en.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/uz.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/es.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ts.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/cs.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sw.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/mn.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ro.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/hi.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/tlh.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/lv.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/zu.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/vi.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ar.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ss.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/pt_pt.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/it.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/de.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ky.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sv.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ha.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/cy.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/xh.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/fa.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/kk.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/et.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/tr.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/st.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/sr.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ve.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ur.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/ps.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/nb.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/eu.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/nr.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/uk.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/mk.py -&gt; build/lib/guess_language/data/models
  copying guess_language/data/models/hr.py -&gt; build/lib/guess_language/data/models
  running install_lib
  running install_egg_info
  Removing /usr/local/lib/python3.2/dist-packages/guess_language_spirit-0.5a3.egg-info
  error: /usr/local/lib/python3.2/dist-packages/guess_language_spirit-0.5a3.egg-info: Permission denied
  </code></pre>
  
  <p><strong>$ python2 setup.py install</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "setup.py", line 597, in &lt;module&gt;
      sys.exit(main())
    File "setup.py", line 592, in main
      run_setup_hooks(config)
    File "setup.py", line 569, in run_setup_hooks
      func(config)
    File "setup.py", line 582, in default_hook
      generate_py2k(config)
    File "setup.py", line 543, in generate_py2k
      run_3to2(copied_py_files)
    File "setup.py", line 374, in run_3to2
      raise OSError("3to2 script is unavailable.")
  OSError: 3to2 script is unavailable.
  </code></pre>