I haven&#39;t experienced for arcpy + pyqgis, but I had the same problem running arcpy + ogr lib.<br><br>Whith which python version are you trying this ? Inside the 2.5 qgis python or the 2.6 arcpy python ?<br><br>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 &quot;trick&quot; arcpy.<br>

Can&#39;t say anymore now as I&#39;m not on this computer, but I&#39;ll give you my complete solution later in the day.<br><br>Cheers,<br><br>Robin<br><br><div class="gmail_quote">2012/1/12 Kaps Stefan <span dir="ltr">&lt;<a href="mailto:stefan.kaps@vorarlberg.at">stefan.kaps@vorarlberg.at</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jürgen, Gary, Richard etc.<br>
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?<br>


<br>
Stefan<br>
<br>
<br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: <a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:qgis-developer-bounces@lists.osgeo.org">qgis-developer-bounces@lists.osgeo.org</a>] Im Auftrag von Jürgen E. Fischer<br>


Gesendet: Mittwoch, 11. Januar 2012 17:39<br>
An: <a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a><br>
<div class="im HOEnZb">Betreff: Re: [Qgis-developer] Problem with setting up PyQGIS (QGIS 1.7.3)<br>
<br>
</div><div class="HOEnZb"><div class="h5">Hi Stefan,<br>
<br>
On Wed, 11. Jan 2012 at 08:52:27 +0000, Kaps Stefan wrote:<br>
&gt; I&#39;m not able to set up the Python environment for standalone<br>
&gt; applications correctly, allthough there are several documentations on<br>
&gt; the internet -&gt; I am using this one<br>
&gt; [1]<a href="http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications" target="_blank">http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:98,&#39;weight&#39;:17},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120112112830&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span>,<br>


&gt; but<br>
<br>
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.<br>
<br>
<br>
Jürgen<br>
<br>
<br>
--<br>
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20<br>
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50<br>
Software Engineer         D-26506 Norden               <a href="http://www.norbit.de" target="_blank">http://www.norbit.de</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:-1,&#39;weight&#39;:-1},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120112112830&#39;}, self.className)},600);" class="wrc0" style="padding-right:16px;width:16px;height:16px"></span><br>


<br>
--<br>
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden<br>
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:13},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120112112827&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>


_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><span onmouseout="cancel = false; window.setTimeout(WRCHideContent, 1000); clearTimeout(showTimer);" onmouseover=" var self = this; showTimer = window.setTimeout(function(){WRCShowContent({&#39;rating&#39;:{&#39;value&#39;:100,&#39;weight&#39;:13},&#39;flags&#39;:{},&#39;single&#39;:false,&#39;ttl&#39;:7200,&#39;expireTime&#39;:&#39;20120112112827&#39;}, self.className)},600);" class="wrc11" style="padding-right:16px;width:16px;height:16px"></span><br>


</div></div></blockquote></div><br>