我同时使用独立安装程序和OSgeo4w安装程序安装了QGIS(2.0.1-Dufour Dufour,d94c044),似乎处理插件有问题。起初我以为是python路径问题,但现在我想知道所有安装是否正确。我不知道这些库在哪里,所以我需要一些调试该问题的帮助。
这是我所知道的:
- 启动QGIS时出现以下错误消息
- 我的计算机上不存在以下文件夹:
- C:\ Users \ gstein / .qgis2 / python
- C:\ Users \ gstein / .qgis2 / python / plugins
- C:\ PROGRA〜1 \ QGISDU〜1 \ bin \ python27.zip
- C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ plat-win
- C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ lib-tk
有什么想法可能有问题吗?
错误信息
无法从['C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python','C:\ Users \ gstein / .qgis2 / python','C:\ Users'加载插件“处理” \ gstein / .qgis2 / python / plugins','C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ pip-1.2.1-py2.7.egg','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages','C:\ Program Files(x86)\ ArcGIS \ Desktop10.1 \ bin',' C:\ Program Files(x86)\ ArcGIS \ Desktop10.1 \ arcpy','C:\ Program Files(x86)\ ArcGIS \ Desktop10.1 \ ArcToolbox \ Scripts','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ win32','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ win32 \ lib','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ Pythonwin','C :\ PROGRA〜1 \ QGISDU〜1 \ bin \ python27.zip','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ DLLs','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ plat-win','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ lib-tk','C:\ PROGRA〜1 \ QGISDU〜1 \ bin','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ PIL','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ win32','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ win32 \ lib','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ Pythonwin','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ Shapely-1.2.18-py2.7-win-amd64.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ six -1.3.0-py2.7.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ wx-2.8-msw-unicode','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site \ packages \ xlrd-0.9.2-py2.7.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg','C :\ PROGRA〜1 \ QGISDU〜1 \ apps \ qgis \ python \ plugins \ fTools \ tools']
追溯(最近一次通话最近):loadPlugin 导入中的文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,第182行 (程序包名称)文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,第453行,位于_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)来自processing.tools.general的文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins \ processing__init __。py”,第20行,常规导入runalg,runandload,alghelp,alglist,algoptions,load ,范围,getobject文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,第453行,在_import mod = _builtin_import(name,globals,locals,fromlist,level )来自processing.core.Processing导入的文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins \ processing \ tools \ general.py”第29行。处理导入处理文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py“,第453行,在_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)中,文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins \ processing \ core \ Processing.py”,第43行,从processing.algs.QGISAlgorithmProvider导入QGISAlgorithmProvider文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,行453,在_import mod = _builtin_import(名称,全局,本地人,fromlist,级别)文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins \ processing \ algs \ QGISAlgorithmProvider.py”,行86,来自processing.algs.CreateConstantRaster导入CreateConstantRaster文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,第453行,在_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)中,文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /。/python/plugins\processing\algs\CreateConstantRaster.py”,第1行,来自processing.core.RasterWriter导入RasterWriter文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis/。/python \ qgis \ utils .py“,第453行,位于_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)中,文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins \ processing \ core \导入numpy文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”中第28行的“ RasterWriter.py”,第453行,在_import mod = _builtin_import(name,全局,本地,从列表,级别)文件“ C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ numpy__init __。py”,行137,在导入add_newdocs文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps /qgis/。/python\qgis\utils.py”,第453行,位于_import mod = _builtin_import(name,全局,本地,从列表,级别)文件“ C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ numpy \ add_newdocs.py”,第9行,从numpy.lib导入add_newdoc文件“ C:/ PROGRA〜1 /QGISDU~1/apps/qgis/./python\qgis\utils.py“,第453行,位于_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)文件“ C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ numpy \ lib__init __。py“,第4行,来自type_check import *文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,此行453,在_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)中,文件“ C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ numpy \ lib \ type_check.py”,第8行,在导入numpy中.core.numeric作为_nx文件“ C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python \ qgis \ utils.py”,第453行,在_import mod = _builtin_import(名称,全局变量,本地变量,fromlist,级别)中,文件“ C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ numpy \ core__init __。py”,第5行,在导入多数组文件“ C: /PROGRA~1/QGISDU~1/apps/qgis/./python\qgis\utils.py“,第453行,在_import mod = _builtin_import(name,globals,locals,fromlist,level)ImportError:DLL加载失败:% 1不是有效的Win32应用程序。%1不是有效的Win32应用程序。%1不是有效的Win32应用程序。
Python版本:2.7.5(默认值,2013年5月15日,22:44:16)[MSC v.1500 64位(AMD64)]
QGIS版本:2.0.1-Dufour Dufour,d94c044
Python路径:['C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python','C:\ Users \ gstein / .qgis2 / python','C:\ Users \ gstein / .qgis2 / python / plugins','C:/ PROGRA〜1 / QGISDU〜1 / apps / qgis /./ python / plugins','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ pip-1.2.1- py2.7.egg','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages','C:\ Program Files(x86)\ ArcGIS \ Desktop10.1 \ bin','C:\ Program Files( x86)\ ArcGIS \ Desktop10.1 \ arcpy','C:\ Program Files(x86)\ ArcGIS \ Desktop10.1 \ ArcToolbox \ Scripts','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ win32 ','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ win32 \ lib','C:\ Python27 \ ArcGIS10.1 \ Lib \ site-packages \ Pythonwin','C:\ PROGRA〜1 \ QGISDU〜1 \ bin \ python27.zip','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ DLLs','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ plat-win','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ lib-tk','C:\ PROGRA〜1 \ QGISDU〜1 \ bin','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27','C:\ PROGRA〜 1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ PIL','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ win32','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ win32 \ lib','C:\ PROGRA〜 1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ Pythonwin','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ Shapely-1.2.18-py2.7 -win-amd64.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ six-1.3.0-py2.7.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ wx-2.8-msw-unicode','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site \ packages \ xlrd-0.9.2-py2.7.egg','C:\ PROGRA〜1 \ QGISDU〜1 \ apps \ Python27 \ lib \ site-packages \ xlwt-0.7.5-py2.7.egg','C :\ PROGRA〜1 \ QGISDU〜1 \ apps \ qgis \ python \ plugins \ fTools \ tools']