问题描述:
ArcMap unexpectedly exits during the "Loading Document..." stage on startup. No error code is displayed.
ArcMap在启动“Loading Document...”阶段异常退出。无错误代码显示。
原因:
This can result from an upgrade to Python 2.7.11, which was released on December 12, 2015.
In the newly released version, there is a line in the code that makes the following statement, where 'PyWin_DLLVersionString' now is "2.7-32".
This statement searches for the registry key HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7-32PythonPath, which does not exist.
导致该问题的原因为升级到Python 2.7.11版本,发布于2015年12月12号。
在新的发布版本中,有一行代码使用了如下语句: 'PyWin_DLLVersionString' 现在是 "2.7-32"。
该语句搜索注册表键:HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7-32PythonPath,不存在。
解决方案:
修改注册表中关于Python目录的设置的根键的名称:从“2.7”==》“2.7-32”,方法步骤如下:
1. Click Start > Run, and type 'regedit'. Navigate to
HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7
2. Right-click the 2.7 folder and select Rename. Rename the '2.7' folder to '2.7-32'.
3. When this is completed, the path must look like this:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodePythonPythonCore2.7-32
4. Close the Registry Editor and open ArcMap.
详见:
http://support.esri.com/cn/knowledgebase/techarticles/detail/45924