I want to run a python script that uses arcpy. It was running earlier on a 32-bit machine without problems. On a 64-bit machine I get a MemoryError. The 64-bit backgroundgeoprocessing of ArcGIS 10.3 should solve this problem. If I type import arcpy to the IDLE which is 64-bit too I get the following error message:
Traceback (most recent call last): File "", line 1, in import arcpy File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\__init__.py", line 21, in from arcpy.geoprocessing import gp File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\__init__.py", line 14, in from _base import * File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 598, in env = GPEnvironments(gp) File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 595, in GPEnvironments return GPEnvironment(geoprocessor) File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 551, in __init__ self._refresh() File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 553, in _refresh envset = (set(env for env in self._gp.listEnvironments())) RuntimeError: NotInitialized To make sure I installed everything correctly: ArcGIS 10.3 (Advanced Concurrent License); ArcGIS 10.3 64-bit backgroundgeoproessing patch; Python 2.7.9 x64
I also adapted the system paths fron ...\bin to \bin64 and from Python27\ArcGIS10.3 to \ArcGISx6410.3
I have absolutely no idea what to try. Thanks for your help!
أكثر...
Traceback (most recent call last): File "", line 1, in import arcpy File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\__init__.py", line 21, in from arcpy.geoprocessing import gp File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\__init__.py", line 14, in from _base import * File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 598, in env = GPEnvironments(gp) File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 595, in GPEnvironments return GPEnvironment(geoprocessor) File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 551, in __init__ self._refresh() File "C:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy\arcpy\geoprocessing\_base.py", line 553, in _refresh envset = (set(env for env in self._gp.listEnvironments())) RuntimeError: NotInitialized To make sure I installed everything correctly: ArcGIS 10.3 (Advanced Concurrent License); ArcGIS 10.3 64-bit backgroundgeoproessing patch; Python 2.7.9 x64
I also adapted the system paths fron ...\bin to \bin64 and from Python27\ArcGIS10.3 to \ArcGISx6410.3
I have absolutely no idea what to try. Thanks for your help!
أكثر...