<div dir="ltr"><div><div>Whenever I run a python with basemap I get a segmentation fault error.  For example when running:<br>from mpl_toolkits.basemap import Basemap<br>import matplotlib.pyplot as plt<br># setup Lambert Conformal basemap.<br># set resolution=None to skip processing of boundary datasets.<br>m = Basemap(width=12000000,height=9000000,projection='lcc',<br>           resolution=None,lat_1=45.,lat_2=55,lat_0=50,lon_0=-107.)<br># draw a land-sea mask for a map background.<br># lakes=True means plot inland lakes with ocean color.<br>m.drawlsmask(land_color='coral',ocean_color='aqua',lakes=True)<br>plt.show()<br><br></div>I get a segmentation fault core dump error.<br><br></div>I have done some reading online about this and they say that it could be because I accidently installed two versions of geos (<a href="http://trac.osgeo.org/geos/">http://trac.osgeo.org/geos/</a>), which include geos.3.3.6 and geos.3.3.3 which was already available in the basemap package.   Could this be the problem that is creating the segmentation fault core dump?  If so how do I uninstall the geos libraries that I do not need.  There is not a lot of specific information on how to uninstall geos libraries and I really need a specific guide on how to do this and get the above script working properly.<br><br><div><div><br clear="all"><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div>Jason Snyder PhD<br></div>

<div><br></div></div></div></div>
</div></div></div></div></div>