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

NameError: global name 'Con' undefined on metric run #5

Open
Jwely opened this issue Apr 22, 2016 · 3 comments
Open

NameError: global name 'Con' undefined on metric run #5

Jwely opened this issue Apr 22, 2016 · 3 comments

Comments

@Jwely
Copy link
Member

Jwely commented Apr 22, 2016

This came up in issue #3 by @lsapia, but deserves a separate issue thread.

Somehow the Con function from the arcpy.sa module is not importing properly.

361ad5c6-066b-11e6-8425-0401255bd6cd

@Jwely
Copy link
Member Author

Jwely commented Apr 22, 2016

I've changed the spatial analyst imports to be explicit, so if an error still remains it should happen sooner. Please also make sure your spatial analyst extension is enabled in ArcMap.

Download newst hotfix branch here

@lsapia
Copy link

lsapia commented Apr 23, 2016

Hi Jeff thanks for your answer! I tried again with both enabling spatial analyst extensions and using the new fix...but again the same error:

error_7_bis
error_7

@sajjad2923
Copy link

I had problem of config. file run.
Config. file is ready but its just txt file and unable to execute what should i do.

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

3 participants