[Qgis-user] Couldn't load plugin contour due an error when calling its classFactory() method

Paulo Gali Macedo pgmacedo at fc.up.pt
Tue Sep 24 08:28:49 PDT 2013


Hi Everybody,

I ' m a newcomer to QGIS and I'm finding so problems in running some of its plugins.

I have Qgis 1.8.0 - Lisboa, running on a MacBook Pro with OSX 10.6.8 (Snow Leopard).

On trying to load the "Contour" Plugin, I get the message below. Can anybody help me ?

On waiting for your answers, I thank you all in advance. 

All the Best.

Paulo Gali


Couldn't load plugin contour due an error when calling its classFactory() method

Traceback (most recent call last):
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 164, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "/Users/pgmacedo/.qgis//python/plugins/contour/__init__.py", line 73, in classFactory
    from contour import Contour
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/pgmacedo/.qgis//python/plugins/contour/contour.py", line 38, in 
    import matplotlib as mpl
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Library/Python/2.6/site-packages/matplotlib/__init__.py", line 115, in 
    raise ImportError("matplotlib requires pyparsing")
ImportError: matplotlib requires pyparsing

Python version:
2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)]


QGIS version:
1.8.0-Lisboa Lisboa, 

Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/pgmacedo/.qgis//python', '/Users/pgmacedo/.qgis//python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.6', '/Library/Python/2.6/site-packages/numpy-override', '/Library/Frameworks/MapServer.framework/Versions/6.0/Python/2.6', '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.6/site-packages', '/Library/Frameworks/cairo.framework/Versions/1/Python/2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', '/Library/Python/2.6/site-packages', '/Library/Python/2.6/site-packages/PIL', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']









________________________________________________________________________

(Prof. Paulo Gali Macedo)

Departamento de FĂ­sica e Astronomia
Faculdade de Ciencias da Universidade do Porto
R. do Campo Alegre,  687
4169-007 Porto
        PORTUGAL
_________________
Tel . (+351)-220402854        

------------------------------------------------
HOME ADRESS:

 R. Hernani Torres, 39 - 7 Esq.
4200-320  Porto
        PORTUGAL
------------------------------------------------
Home Tel .  (+351)-225021945
TM.    	   (+351)-965871512    
------------------------------------------------
e-mail:

pgmacedo at fc.up.pt




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130924/185f7351/attachment.html>


More information about the Qgis-user mailing list