title: Python Error: No module named mrjob.job
body: <p>I am running the following simple script from the <a href="http://feederio.com/files/book/1477082936747_02862b1b55053c217148432eb64c2ba9.pdf" rel="nofollow noreferrer">book</a> and getting the following error</p>
  
  <pre><code>from mrjob.job import MRJob
  
  class MRWordCount(MRJob):
   def mapper(self, _, line):
    for word in line.split():
     yield(word, 1)
   def reducer(self, word, counts):
    yield(word, sum(counts))
  
  if __name__ == '__main__':
   MRWordCount.run()
  </code></pre>
  
  <p>Using cygwin64 on windows 10 it returns the following error:</p>
  
  <pre><code>User001@Ubuntu /cygdrive/c/Users/User001/PycharmProjects/TestProject
  $ python preparation.py input.txt
  Traceback (most recent call last):
    File "preparation.py", line 1, in &lt;module&gt;
      from mrjob.job import MRJob
  ImportError: No module named mrjob.job
  </code></pre>
  
  <p>Here is what I did:</p>
  
  <ol>
  <li><p>I installed mrjob using <code>pip install mrjob</code> and it installed successfully.</p></li>
  <li><p>I have checked that files exist in site-packages/mrjob and job.py file also exist and I can open the file and see the methods inside that file.</p></li>
  <li><p>I am using Pycharm so when I try to import mrjob it also gives me syntax completion that is pycharm recognizes where is the file.</p></li>
  </ol>
  
  <p>Now I do not understand why it is unable to get this module. Can anybody help ? Thanks</p>