Select to view content in your preferred language

Create a gdb with arcpy in ArcGIS server machine

117
0
03-06-2025 11:06 AM
EnriqueMz
New Contributor

Hello, I’ve encountered a situation I hadn’t experienced before.

I developed a Python script that uses the arcpy package. This code runs without issues in a local environment, but when I execute it in the console within the Python environment that comes preinstalled on an ArcGIS server, upon reaching the line arcpy.management.CreateFileGDB, the console closes automatically. I don’t receive any error messages or indications; it simply closes. I did this because I want to create a scheduled task in Windows to run this code periodically. The Python environment is version 3.9.18. Does anyone have any idea why this might be happening?

Tags (3)
0 Kudos
0 Replies