I have the exact same problem as liuyingjie above, not finding a clear solution.
Stacy's workaround isn't working for me either (with 10.2.2), I'm getting the error message shown in the screenshot when trying to run the exe in the command line. I'm also getting a message in the command line re: missing modules (see screenshot), but am not sure where I can find these...any ideas???
I had the Similar problem when I using ArcGIS 10.3 arcpy with Python 2.7 and cxfreeze to convert .py into exe
can you give me some suggest to solve the problem?
thanks!
import arcpy # do some stuff # do some more stuff
import doSomething
import arcpy def main(): # do some stuff # do some more stuff if __name__ == '__main__': pass # will do nothing if someone tries to run it directly
import doSomething doSomething.main()
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.