title: "import py" > No module named py
body: <p>I am trying to run a py.test script. When the script try to import py, I get a "No module named py" </p>
  
  <p>I have py.test and python successfully installed.  </p>
  
  <p>My error message:</p>
  
  <pre><code>$ python
  &gt;&gt;&gt; import py
  Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named py
  </code></pre>
  
  <p>The sqript I am trying to run, are named run_tests.py, and are made by my University. It runs for all other people. It starts like this:</p>
  
  <pre><code># This script can be used to automatically check the assignments of students
  import py
  import os
  import sys
  import argparse
  verbose = True
  
  # List of assignment names and achie.....
  </code></pre>
  
  <p>My py.test version: 2.7.2, python version: 2.7.9, runing OSX</p>