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

Gary Sherman gsherman at geoapt.com
Sun Oct 26 16:18:17 PDT 2014


On 10/26/14 3:13 PM, Larry Shaffer wrote:
> Hi Gary,
>
> See the "Supporting Components" just above the download sections:
> http://qgis.dakotacarto.com/

Oh---had it said "Required Components" I might have expanded it and read 
it :)

It sounds like William has it covered for installs of a released version.

Thanks,

-gary

>
> Regards,
>
> Larry Shaffer
> Dakota Cartography
> Black Hills, South Dakota
>
> On Sat, Oct 25, 2014 at 4:41 PM, William Kyngesburye
> <woklist at kyngchaos.com <mailto:woklist at kyngchaos.com>> wrote:
>
>     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
>     <mailto: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 <http://geoapt.com>
>      > Publishing: locatepress.com <http://locatepress.com>
>      >
>      > We work virtually anywhere
>      > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>      >
>      > _______________________________________________
>      > Qgis-developer mailing list
>      > Qgis-developer at lists.osgeo.org
>     <mailto: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
>
>
>     _______________________________________________
>     Qgis-developer mailing list
>     Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Gary Sherman

Founder, QGIS Project
Consulting: geoapt.com
Publishing: locatepress.com

We work virtually anywhere
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


More information about the Qgis-developer mailing list