title: Python error in Eclipse: SyntaxError: future feature print_function is not defined
body: <p>I'm trying to get python works in Eclipse with me. I did download Pydev and wrote a small python code.</p>
  
  <p>my python version is: Python 2.7.6
  on my Mac OS X 10.9.2 </p>
  
  <p>the error I'm receiving now is(BTW I'm getting this error with Jython 2.5.4rc1 and Python interpreters): </p>
  
  <pre><code>Traceback (most recent call last):
    File "/Users/ha/EclipseProjects/PythonNLTK/Code.py", line 11, in &lt;module&gt;
      import nltk
    File "/Library/Python/2.7/site-packages/nltk/__init__.py", line 99, in &lt;module&gt;
      from collocations import *
    File "/Library/Python/2.7/site-packages/nltk/collocations.py", line 38, in &lt;module&gt;
      from nltk.metrics import ContingencyMeasures, BigramAssocMeasures, TrigramAssocMeasures
    File "/Library/Python/2.7/site-packages/nltk/metrics/__init__.py", line 23, in &lt;module&gt;
      from nltk.metrics.segmentation    import windowdiff, ghd, pk
    File "/Library/Python/2.7/site-packages/nltk/metrics/segmentation.py", line 45, in &lt;module&gt;
      import numpy
    File "/Library/Python/2.7/site-packages/nltk/metrics/segmentation.py", line 45, in &lt;module&gt;
      import numpy
    File "/Library/Python/2.7/site-packages/numpy/__init__.py", line 107
  SyntaxError: future feature print_function is not defined
  </code></pre>
  
  <p>How can I solve it?</p>