title: Python won't import correct version of GDAL
body: <p>I just used home-brew to update my version of GDAL. I was using GDAL version 1.11, which could not read .grd files.</p>
  
  <pre><code>import gdal
  import matplotlib.pyplot as plt
  from colormap import Colormap
  
  quant = gdal.Open('.../pct1/pct1.grd')
  
  ERROR 4: `/Users/Nate/Documents/CSU/DroughtNet/WebApps/WorldClim_ShinyApp/data/pct1/pct1.grd' not recognised as a supported file format.
  </code></pre>
  
  <p>I used Homebrew to update my GDAL version to 1.9 to see if that fixes the problem, and GDAL did install successfully. However, I can't get Python to import the appropriate GDAL version, it still imports version 1.11.</p>
  
  <p>I've tried editing the sys.path file, putting the current GDAL framework up front, but that didn't do it. The Homebrew install said to run </p>
  
  <pre><code>mkdir -p /Users/Nate/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' &gt;&gt; /Users/Nate/Library/Python/2.7/lib/python/site-packages/homebrew.pth
  </code></pre>
  
  <p>Which I did, but that didn't work either. Probably because my Python is not run from /Users/Nate/Library/Python/ but comes from a different place. Any suggestions on how to get Python to recognize the newest GDAL version?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Per Matthew's comment, I was able to get the correct version of GDAL (1.9) to load. However, it still won't read my .grd file. Is there an extension that I need to add in order to read these files?</p>