title: AttributeError: 'module' object has no attribute 'lowercase'
body: <p>I think I'm having troubles importing pylab. A similar error occurs when I import numpy.
  Here is my code</p>
  
  <pre><code>from math import radians, sin, cos
  from pylab import plot, xlabel, ylabel, title, show
  
  v0=input("Enter v0 (m/s)...")
  alpha0=input("enter alpha0 (degrees)...")
  g=input("Enter g (m/s^2)..")
  
  radalpha0=radians(alpha0)
  t_inc=0.01
  t=0
  i=0
  x=[]
  y=[]
  
  x.append(v0*cos(radalpha0)*t)
  y.append(v0*sin(radalpha0)*t-0.5*g*t*t)
  
  while y[i]&gt;=0:
      i=i+1
      t=t+t_inc
      x.append(v0*cos(radalpha0)*t)
      y.append(v0*sin(radalpha0)*t-0.5*g*t*t)
  
  xlabel('x')
  ylabel('x')
  plot(x,y)
  title('Motion in two dimensions')
  show()
  </code></pre>
  
  <p>I get this output</p>
  
  <pre><code>Traceback (most recent call last):
    File "2d_motion.py", line 2, in &lt;module&gt;
      from pylab import plot, xlabel, ylabel, title, show
    File "/usr/lib64/python2.7/site-packages/pylab.py", line 1, in &lt;module&gt;
      from matplotlib.pylab import *
    File "/usr/lib64/python2.7/site-packages/matplotlib/__init__.py", line 151, in &lt;module&gt;
      from matplotlib.rcsetup import (defaultParams,
    File "/usr/lib64/python2.7/site-packages/matplotlib/rcsetup.py", line 19, in &lt;module&gt;
      from matplotlib.fontconfig_pattern import parse_fontconfig_pattern
    File "/usr/lib64/python2.7/site-packages/matplotlib/fontconfig_pattern.py", line 28, in &lt;module&gt;
      from pyparsing import Literal, ZeroOrMore, \
    File "/usr/lib/python2.7/site-packages/pyparsing.py", line 109, in &lt;module&gt;
      alphas = string.lowercase + string.uppercase
  AttributeError: 'module' object has no attribute 'lowercase'
  </code></pre>
  
  <p>Is there any problem with the syntax?</p>
  
  <p>I'm using python2.7 on fedora18.</p>