AnsweredAssumed Answered

Not able to set workspace using standalone Python script for ArcGIS

Question asked by harshal.gharat on Aug 21, 2018
Latest reply on Jul 25, 2019 by nikola.cacanoskigdi-net-esridist

I am facing a very weird issue in setting the workspace. When I setup the workspace inside python window in ArcMap/ArcCatalog, it just works fine. But the moment I do the same in a standalone python script, the things do not work at all. I tried other options like creating connection file in scratch folder and then setting it as a workspace but still no luck. I am facing this issue on ArcGIS Desktop 10.2.1 and my database is 64 bit Oracle.

I had ArcGIS Pro 2.1 installed on the same machine hence I also tried the same thing after uninstalling ArcGIS Pro but still no luck.

Outcomes