HI Paulo

I'm not familiar with the MacBook and configuring QGIS on it, but the problem 
is that the contour plugin uses a python module called matplotlib, and that in 
turn uses a python module called pyparsing.  The error message is saying that 
the pyparsing module is missing.
Unfortunately I cannot help further than that.  The pyparsing module is 
available at http://pyparsing.wikispaces.com/Download+and+Installation
but how you install it depends on how your python installation is set up.

When you have fixed this there may be another couple of python dependencies you 
may need to install, listed at
http://matplotlib.org/users/installing.html

Good luck
Chris
________________________________________
From: Paulo Gali Macedo [pgmac...@fc.up.pt]
Sent: 25 September 2013 03:28
To: QGIS User
Subject: [Qgis-user] Couldn't load plugin contour due an error when calling     
its classFactory() method

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:

pgmac...@fc.up.pt<mailto:pgmac...@fc.up.pt>




This message contains information, which is confidential and may be subject to 
legal privilege. If you are not the intended recipient, you must not peruse, 
use, disseminate, distribute or copy this message. If you have received this 
message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to