title: Cannot import mean from statistics
body: <p>I'm trying to import statistics module in python. It's giving me an error message when i execute the program.</p>
  
  <p><strong>Here is my code:</strong></p>
  
  <pre><code>from statistics import mean
  import numpy as np
  import  matplotlib.pyplot as plt
  
  xs = np.array([1,2,3,4,5,6,7,8])
  ys = np.array([2,8,5,0,5,7,3,6])
  def best_fit_line(xs ,ys):
      m = ( ((mean(xs)* mean(ys))- mean(xs*ys)) /
            (mean(xs)*mean(xs))-(mean(xs*xs)))
      return m
  m = best_fit_line(xs,ys)
  </code></pre>
  
  <p><strong>The error message:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/kudzai/Documents/Machine Learning/LinearRegAlg.py", line 1, in &lt;module&gt;
      from statistics import mean
  ImportError: No module named statistics
  </code></pre>