Python Blog

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Other Boards in This Place

Latest Activity

(172 Posts)
DanPatterson
MVP Esteemed Contributor

The spatial analyst and numpy are both useful tools for generalizing rasters... read on, if this is for you

Read more...

more
2 0 135
DanPatterson
MVP Esteemed Contributor

Do you ever open up a non-text file to see all those weird and wonderful characters that make no sense?

Read more...

more
2 1 255
DanPatterson
MVP Esteemed Contributor

A brief introduction to how intersections can be derived.

Read more...

more
0 0 271
DanPatterson
MVP Esteemed Contributor

Clean up your <nulls>.  Don't every use them.

Read more...

more
0 0 314
DanPatterson
MVP Esteemed Contributor

Complaining about field calculations?  Learn some new tools.

Read more...

more
4 0 332
DanPatterson
MVP Esteemed Contributor

Want another documentation tip?

Read more...

more
0 0 238
DanPatterson
MVP Esteemed Contributor

you can install arcpy by itself in a clone.... surprise!  the luggage it carries

Read more...

more
0 0 535
DanPatterson
MVP Esteemed Contributor

Got a tricky problem... watch closely

Read more...

more
0 3 790
DanPatterson
MVP Esteemed Contributor

I know... I know... too busy to do it, but when you do...

Read more...

more
0 0 498
AndresCastillo
MVP Regular Contributor


Esri Technical Support has an article with respect to running python scripts using the 'relative' path that contains the ArcCatalog connection name (i.e 'Database Connections/MyDatabaseName.sde/), outside of an ArcGIS Environment.
 
For example, running from Windows Command Prompt, or Task Scheduler.
 
 
FAQ: Why am I getting "Error 000732, < dataset name > does not exist or is not supported", in a script run outside the ArcGIS environment?
 
 
There is a caveat, in that:
1
as long as you specify the python installation that comes with the ArcGIS install
(C:\Python27\ArcGIS10.4\python.exe python), and
2
also the the sde connection file is stored in the 'Database Connections/MyDatabaseName.sde/ directory (aka the user profile in which the process will be run: C:\Users\<userName>\AppData\Roaming\Esri\Desktop10.4\ArcCatalog), the script will run.
 
This is because that python install is technically part of the ArcGIS Environment.

more
0 1 970
137 Subscribers
Labels