[Qgis-developer] Problem with setting up PyQGIS (QGIS 1.7.3)

Robin Cura robin.cura at gmail.com
Thu Jan 12 03:37:00 EST 2012


I haven't experienced for arcpy + pyqgis, but I had the same problem
running arcpy + ogr lib.

Whith which python version are you trying this ? Inside the 2.5 qgis python
or the 2.6 arcpy python ?

For my part, I had to use a 2.6 python (native, with connections to ogr),
and import inside it arcpy, using an external file to "trick" arcpy.
Can't say anymore now as I'm not on this computer, but I'll give you my
complete solution later in the day.

Cheers,

Robin

2012/1/12 Kaps Stefan <stefan.kaps at vorarlberg.at>

> Hi Jürgen, Gary, Richard etc.
> Thanks for your support! My problem was, that I have allready installed
> python 2.6 for ArcGIS and this caused my problems when running my python
> script! I am not able to run arcpy 2.6 and pyqgis 2.5 together - has
> someone experience with arcpy (python 2.6) and pyqgis running together?
>
> Stefan
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: qgis-developer-bounces at lists.osgeo.org [mailto:
> qgis-developer-bounces at lists.osgeo.org] Im Auftrag von Jürgen E. Fischer
> Gesendet: Mittwoch, 11. Januar 2012 17:39
> An: qgis-developer at lists.osgeo.org
> Betreff: Re: [Qgis-developer] Problem with setting up PyQGIS (QGIS 1.7.3)
>
> Hi Stefan,
>
> On Wed, 11. Jan 2012 at 08:52:27 +0000, Kaps Stefan wrote:
> > I'm not able to set up the Python environment for standalone
> > applications correctly, allthough there are several documentations on
> > the internet -> I am using this one
> > [1]http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications,
> > but
>
> Create a copy of the qgis.bat file in bin and replace the last line with a
> call your python(w) script in the copy.  That should help.
>
>
> Jürgen
>
>
> --
> Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
> Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
> Software Engineer         D-26506 Norden
> http://www.norbit.de
>
> --
> norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
> Rheinstrasse 13, 26506 Norden
> GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120112/7e4ea2a0/attachment.html


More information about the Qgis-developer mailing list