[Qgis-developer] Nightly & OS X Log Messages Panel - Python and QT
William Kyngesburye
woklist at kyngchaos.com
Fri Apr 29 13:32:58 PDT 2016
> On Apr 29, 2016, at 10:24 AM, Thomas Endres <endres.thomas at gmail.com> wrote:
>
> Hi Larry,
>
> On Thu, Apr 28, 2016 at 10:30 PM, Larry Shaffer <larrys at dakotacarto.com> wrote:
> Hi Thomas,
>
> On Thu, Apr 28, 2016 at 10:54 AM, Thomas Endres <endres.thomas at gmail.com> wrote:
> HI All,
> 2) Ever since I can remember I have had the following appear in the 'Python warning' tab:
> 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
>
> This is a system-installed module (not part of the QGIS packaging). You can just ignore the warning.
>
> You could try the following to get rid of the warning:
>
> sudo touch /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/mpl_toolkits/__init__.py
>
> 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.
>
> Thanks again Larry - super appreciated!
>
> -tom
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.
What's your sys.path from within a QGIS python terminal (with my matplotlib installed)?
Does my matplotlib load without noise from python in a Terminal (not QGIS)?
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"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....
- the wisdom of Tarzan
More information about the Qgis-developer
mailing list