title: ImportError: No module named argparse
body: <p>I am trying to run a Python program but get the error</p>
  
  <pre><code>ImportError: No module named argparse
  </code></pre>
  
  <p>I found the question <a href="https://stackoverflow.com/questions/7473609/argparse-python-modules-in-cli">“argparse Python modules in cli”</a> here on StackOverflow and tried the first comment, i.e. running the command</p>
  
  <pre><code>python -c "import argparse; print argparse"
  </code></pre>
  
  <p>which resulted in</p>
  
  <pre><code>&lt;module 'argparse' from '/usr/lib/python2.7/argparse.pyc'&gt;
  </code></pre>
  
  <p>For me it seems like there is Python 2.7 installed on the machine (of which I am not administrator) and the <code>argparse</code> module is present as well. So I wonder why the module is not found. On another machine the script runs as it should. In the post referred to above, there is the comment that maybe <code>sys.path</code> is broken. I have no clue what that means, or how I can change its value. Any ideas?</p>