[Qgis-user] matplotlib is not found in QGIS 2.1.0-Master

Manuel Spínola mspinola10 at gmail.com
Sat Sep 14 05:51:24 PDT 2013


Thank you very much Gene.

How can I solve the problem?  I deleted the python 3.3 that I installed
before.  Right now I have version 2.7.5., but still QGIS is asking me for
the matplotlib.

I don´t know much how to play with the Terminal.

Best

Manuel


2013/9/14 gene <martin.laloux at gmail.com>

>  Right, the QGIS version of KyngChaos and the Nightly Mac Build of Larry
> Shaffer use the default Apple Python (modules are installed in the
> site-packages folder: /Library/Python/2.x/site-packages/).
>
> That's why the matplotlib version of KingChaos is installed  in
> /Library/Python/2.6/site-packages/ (Snow Leopard) and
> /Library/Python/2.7/site-packages/ (Lion, Mountain Lion).
>
> Why ? Because  the default Apple Python is installed by default, the others
> no.
>
> Of course, you can install other Python versions on Mac OS X (each one set
> up its own version of Python but they are invisible for these versions of
> QGIS unless you are a Unix specialist (in PATH's management)).
>
> -  the official versions of Python.org: site-packages folder  in
> /Library/Frameworks/Python.framework/Versions/2.x /lib/;
> -  same for the Enthought Python, scientific distribution with many modules
> preinstalled, numpy, scipy, matplotlib;
> -  the  Homebrew version: site-packages folder  in
> /usr/local/lib/python2.x/site-packages;
> -  the MacPorts version : site-packages folder  in
> /opt/local/lib/python2.x/site-packages;
> -  the Fink version: site-packages folder  in
> /sw/lib/python2.x/site-packages);
> -  the Anaconda version, scientific distribution with many modules
> preinstalled, numpy, scipy, matplotlib: site-packages folder  in
> ~/anaconda/lib/python2.7/site-packages/;
> -  and others as If you build  Python from source
>
> If you are a Python specialist, you can always try to add the site-package
> folder of one of the others Pythons (same version) to the PYTHONPATH of the
> Apple Python with sys.path.insert(0,'/usr/local/lib/python2.7'),
> site.addsitedir('/usr/local/lib/python2.7') or a .pth file, but beware of
> crashes....( Too many different Python versions on my system and causing
> problems
> <
> http://stackoverflow.com/questions/14117945/too-many-different-python-versions-on-my-system-and-causing-problems
> >
> )
>
> And, If you absolutely want to use others versions of Python,  there are
> other versions of QGIS available (with Homebrew,
> http://braumeister.org/repos/Homebrew/homebrew-science/formula/qgis
> <http://braumeister.org/repos/Homebrew/homebrew-science/formula/qgis>
> and
> http://spanring.eu/blog/2011/01/31/quantum-gis-and-homebrew-pt-1/
> <http://spanring.eu/blog/2011/01/31/quantum-gis-and-homebrew-pt-1/>  ,
> with
> MacPorts,...). They use their respective version of Python/site-packages.
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/matplotlib-is-not-found-in-QGIS-2-1-0-Master-tp5077699p5077828.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola at una.ac.cr
mspinola10 at gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130914/05ff354b/attachment.html>


More information about the Qgis-user mailing list