[Qgis-developer] Missing psycopg2 on Mac OS X after QGIS install

William Kyngesburye woklist at kyngchaos.com
Sat Oct 25 15:41:00 PDT 2014


It's possible that it wasn't bundled in the nightly.  I bundle psycopg2 in my QGIS, but I also have a standalone psycopg2 installer on my site.

On Oct 25, 2014, at 1:54 PM, Gary Sherman <gsherman at geoapt.com> wrote:

> On install of QGIS nightly on a "fresh" Mac, starting it up leaves you with:
> 
> File "/Users/gsherman/Desktop/QGIS_2.5-dev.app/Contents/MacOS/../Resources/python/plugins/processing/algs/qgis/postgis_utils.py", line 28, in
>    import psycopg2
>  File "/Users/gsherman/Desktop/QGIS_2.5-dev.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 460, in _import
>    mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named psycopg2
> 
> 
> 
> Closing the error box brings QGIS up and it will function, sans the postgis_utils...
> 
> I know what this means and how to solve it, but should a clean install leave the user wondering what's wrong?
> 
> -gary
> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Gary Sherman
> 
> Founder, QGIS Project
> Consulting: geoapt.com
> Publishing: locatepress.com
> 
> We work virtually anywhere
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect




More information about the Qgis-developer mailing list