<div dir="ltr">I thought that QGIS and OSGeo4W install their own flavor of python... Also, can't get rid of my arcpy instance on my machine, is there a possible work around?</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Dec 5, 2013 at 10:57 AM, Saulteau Don <span dir="ltr"><<a href="mailto:sault.don@gmail.com" target="_blank">sault.don@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I wonder if the ArcGIS Python references in the Path are causing conflicts?<br>
<div><div class="h5"><br>
On Thu, Dec 5, 2013 at 8:54 AM, Guido Stein <<a href="mailto:gstein@appgeo.com">gstein@appgeo.com</a>> wrote:<br>
> Hello,<br>
><br>
> I have tried installing the latest QGIS 64bit application using both the<br>
> standalone and the osgeo4w packages and in both cases I get the following<br>
> error message when I start up the QGIS application. Can anyone point me to a<br>
> solution for this issue? Thanks in advance:<br>
><br>
> Couldn't load plugin 'processing' from<br>
> ['C:/PROGRA~1/QGISDU~1/apps/qgis/./python', 'C:\Users\gstein/.qgis2/python',<br>
> 'C:\Users\gstein/.qgis2/python/plugins',<br>
> 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins',<br>
> 'C:\Python27\ArcGIS10.1\Lib\site-packages\pip-1.2.1-py2.7.egg',<br>
> 'C:\Python27\ArcGIS10.1\Lib\site-packages', 'C:\Program Files<br>
> (x86)\ArcGIS\Desktop10.1\bin', 'C:\Program Files<br>
> (x86)\ArcGIS\Desktop10.1\arcpy', 'C:\Program Files<br>
> (x86)\ArcGIS\Desktop10.1\ArcToolbox\Scripts',<br>
> 'C:\Python27\ArcGIS10.1\Lib\site-packages\win32',<br>
> 'C:\Python27\ArcGIS10.1\Lib\site-packages\win32\lib',<br>
> 'C:\Python27\ArcGIS10.1\Lib\site-packages\Pythonwin',<br>
> 'C:\PROGRA~1\QGISDU~1\bin\python27.zip',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\DLLs',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\plat-win',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISDU~1\bin',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\PIL',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\win32',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\win32\lib',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\Pythonwin',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg',<br>
> 'C:\PROGRA~1\QGISDU~1\apps\qgis\python\plugins\fTools\tools']<br>
><br>
> Traceback (most recent call last):<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 182, in<br>
> loadPlugin<br>
> __import__(packageName)<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\__init__.py",<br>
> line 20, in<br>
> from processing.tools.general import runalg, runandload, alghelp,<br>
> alglist, algoptions, load, extent, getobject<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\tools\general.py",<br>
> line 29, in<br>
> from processing.core.Processing import Processing<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\core\Processing.py",<br>
> line 43, in<br>
> from processing.algs.QGISAlgorithmProvider import QGISAlgorithmProvider<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\algs\QGISAlgorithmProvider.py",<br>
> line 86, in<br>
> from processing.algs.CreateConstantRaster import CreateConstantRaster<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\algs\CreateConstantRaster.py",<br>
> line 1, in<br>
> from processing.core.RasterWriter import RasterWriter<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File<br>
> "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\core\RasterWriter.py",<br>
> line 28, in<br>
> import numpy<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File "C:\Python27\ArcGIS10.1\Lib\site-packages\numpy\__init__.py", line<br>
> 137, in<br>
> import add_newdocs<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File "C:\Python27\ArcGIS10.1\Lib\site-packages\numpy\add_newdocs.py", line<br>
> 9, in<br>
> from numpy.lib import add_newdoc<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File "C:\Python27\ArcGIS10.1\Lib\site-packages\numpy\lib\__init__.py",<br>
> line 4, in<br>
> from type_check import *<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File "C:\Python27\ArcGIS10.1\Lib\site-packages\numpy\lib\type_check.py",<br>
> line 8, in<br>
> import numpy.core.numeric as _nx<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> File "C:\Python27\ArcGIS10.1\Lib\site-packages\numpy\core\__init__.py",<br>
> line 5, in<br>
> import multiarray<br>
> File "C:/PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py", line 453, in<br>
> _import<br>
> mod = _builtin_import(name, globals, locals, fromlist, level)<br>
> ImportError: DLL load failed: %1 is not a valid Win32 application.<br>
><br>
> Python version:<br>
> 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]<br>
><br>
><br>
> QGIS version:<br>
> 2.0.1-Dufour Dufour, d94c044<br>
><br>
> Python path: ['C:/PROGRA~1/QGISDU~1/apps/qgis/./python',<br>
> 'C:\\Users\\gstein/.qgis2/python',<br>
> 'C:\\Users\\gstein/.qgis2/python/plugins',<br>
> 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins',<br>
> 'C:\\Python27\\ArcGIS10.1\\Lib\\site-packages\\pip-1.2.1-py2.7.egg',<br>
> 'C:\\Python27\\ArcGIS10.1\\Lib\\site-packages', 'C:\\Program Files<br>
> (x86)\\ArcGIS\\Desktop10.1\\bin', 'C:\\Program Files<br>
> (x86)\\ArcGIS\\Desktop10.1\\arcpy', 'C:\\Program Files<br>
> (x86)\\ArcGIS\\Desktop10.1\\ArcToolbox\\Scripts',<br>
> 'C:\\Python27\\ArcGIS10.1\\Lib\\site-packages\\win32',<br>
> 'C:\\Python27\\ArcGIS10.1\\Lib\\site-packages\\win32\\lib',<br>
> 'C:\\Python27\\ArcGIS10.1\\Lib\\site-packages\\Pythonwin',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\bin\\python27.zip',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\DLLs',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\plat-win',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\lib-tk',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\bin', 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\PIL',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg',<br>
> 'C:\\PROGRA~1\\QGISDU~1\\apps\\qgis\\python\\plugins\\fTools\\tools']<br>
><br>
</div></div>> This e-mail message and any attachments may contain confidential or legally<br>
> privileged information. If you are not an intended recipient or otherwise<br>
> authorized to receive this message, you should not use, copy, distribute,<br>
> disclose or take any action based on the information contained in this<br>
> e-mail or any attachments. If you have received this message and material in<br>
> error, please advise the sender immediately by reply e-mail and delete this<br>
> message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).<br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,helvetica,sans-serif;font-size:10px"><strong>Guido Stein</strong></span><br style="font-family:arial,helvetica,sans-serif">
<em style="font-family:arial,helvetica,sans-serif"><span style="font-size:10px">GIS Analyst</span></em><br>
<span style="font-size:9px">617-447-2444 Direct | 617-447-2400 Main</span><br>
<span style="font-size:9px"><span style="font-family:arial,helvetica,sans-serif">Applied Geographics, Inc.</span><br>
<span style="font-family:arial,helvetica,sans-serif">24 School Street, Suite 500<br>Boston, MA 02108</span><br>
<a href="http://www.AppGeo.com" target="_blank"><span style="color:#009933">www.AppGeo.com</span></a><br>
<strong> </strong> </span>
</div>
<br>
<span style="color:rgb(128,128,128);font-family:'Courier New';font-size:10px;background-color:rgb(255,255,255)">This e-mail message and any attachments may contain confidential or legally privileged information. If you are not an intended recipient or otherwise authorized to receive this message, you should not use, copy, distribute, disclose or take any action based on the information contained in this e-mail or any attachments. If you have received this message and material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).</span>