<div dir="ltr">HI William,<div>I removed the newly created <span style="color:rgb(80,0,80);font-size:12.8px">__init__.py which was created by the command '</span><span style="color:rgb(80,0,80);font-size:12.8px">sudo touch /System/Library/Frameworks/</span><span style="color:rgb(80,0,80);font-size:12.8px">Python.framework/Versions/2.7/</span><span style="color:rgb(80,0,80);font-size:12.8px">Extras/lib/python/mpl_</span><span style="color:rgb(80,0,80);font-size:12.8px">toolkits/__init__.py'.</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px">Then ran your </span><span style="font-size:12.8px">matplotlib package install and </span><span style="color:rgb(80,0,80);font-size:12.8px">__init__.py was not created.</span></div><div><span style="color:rgb(80,0,80);font-size:12.8px"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">What's your sys.path from within a QGIS python terminal (with my matplotlib installed)?</span></blockquote><div> </div><div>From <span style="font-size:12.8px">QGIS python terminal:</span></div><div> >>import sys</div><div>>>print sys.path</div><div>['/Users/tendres/.qgis2/python/plugins/processing', '/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python', u'/Users/tendres/.qgis2/python', u'/Users/tendres/.qgis2/python/plugins', '/Applications/QGIS_2.15-dev.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages', '/Library/Frameworks/cairo.framework/Versions/1/Python/2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/Users/tendres/Library/Python/2.7/lib/python/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/PIL', u'/Users/tendres/.qgis2//python', '/Users/tendres/.qgis2/python/plugins/mmqgis/forms', '.', '/Users/tendres/.qgis2/python/plugins/QuickMultiAttributeEdit/forms']</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br style="font-size:12.8px"><span style="font-size:12.8px">Does my matplotlib load without noise from python in a Terminal (not QGIS)?</span></blockquote><div> </div><div>From<span style="font-size:12.8px"> python in Terminal:</span></div><div> >>import matplotlib</div>







<div>>></div><div>yes</div><div><br></div><div>This is all on OS X 10.11.4 - not sure what 'matplotlib-override' is about - might anaconda have messed with things?</div><div>Thanks.</div><div>-tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 3:32 PM, William Kyngesburye <span dir="ltr"><<a href="mailto:woklist@kyngchaos.com" target="_blank">woklist@kyngchaos.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Apr 29, 2016, at 10:24 AM, Thomas Endres <<a href="mailto:endres.thomas@gmail.com">endres.thomas@gmail.com</a>> wrote:<br>
><br>
> Hi Larry,<br>
><br>
> On Thu, Apr 28, 2016 at 10:30 PM, Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>> wrote:<br>
> Hi Thomas,<br>
><br>
> On Thu, Apr 28, 2016 at 10:54 AM, Thomas Endres <<a href="mailto:endres.thomas@gmail.com">endres.thomas@gmail.com</a>> wrote:<br>
> HI All,<br>
<br>
</span><span class="">> 2) Ever since I can remember I have had the following appear in the 'Python warning' tab:<br>
> 2016-04-28T11:27:20   1       warning:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py:186: ImportWarning: Not importing directory '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/mpl_toolkits': missing __init__.py<br>
><br>
> This is a system-installed module (not part of the QGIS packaging). You can just ignore the warning.<br>
><br>
> You could try the following to get rid of the warning:<br>
><br>
> sudo touch /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/mpl_toolkits/__init__.py<br>
><br>
> This did the trick! Now QGIS launches clean. I forgot to mention that I already tried a re-install of the matplotlib Python package from Kyngchaos.com which did not help.<br>
><br>
> Thanks again Larry - super appreciated!<br>
><br>
> -tom<br>
<br>
</span>I do have this in my matplotlib package, so I don't know why it didn't work for you.  Maybe you have some other python module that is messing with the sys.path and breaking my matplotlib (or maybe something in QGIS)?  My matplotlib uses an insert to make sure it loads before the system copy.<br>
<br>
What's your sys.path from within a QGIS python terminal (with my matplotlib installed)?<br>
<br>
Does my matplotlib load without noise from python in a Terminal (not QGIS)?<br>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" rel="noreferrer" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
"Mon Dieu! but they are all alike.  Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings.  And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....<br>
<br>
- the wisdom of Tarzan<br>
<br>
<br>
</blockquote></div><br></div>