Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotInitialized error when importing arcpy #85

Open
mws2459 opened this issue Jun 13, 2016 · 0 comments
Open

NotInitialized error when importing arcpy #85

mws2459 opened this issue Jun 13, 2016 · 0 comments

Comments

@mws2459
Copy link

mws2459 commented Jun 13, 2016

import arcpy

Traceback (most recent call last):
File "<pyshell#0>", line 1, in
import arcpy
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy__init__.py", line 22, in
from arcpy.geoprocessing import gp
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing__init__.py", line 14, in
from _base import *
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing_base.py", line 608, in
env = GPEnvironments(gp)
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing_base.py", line 605, in GPEnvironments
return GPEnvironment(geoprocessor)
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing_base.py", line 561, in init
self._refresh()
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\geoprocessing_base.py", line 563, in _refresh
envset = (set(env for env in self._gp.listEnvironments()))
RuntimeError: NotInitialized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant