<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create a gdb with arcpy in ArcGIS server machine in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-gdb-with-arcpy-in-arcgis-server-machine/m-p/1592939#M41774</link>
    <description>&lt;P&gt;Hello, I’ve encountered a situation I hadn’t experienced before.&lt;/P&gt;&lt;P&gt;I developed a Python script that uses the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;arcpy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 19:06:43 GMT</pubDate>
    <dc:creator>EnriqueMz</dc:creator>
    <dc:date>2025-03-06T19:06:43Z</dc:date>
    <item>
      <title>Create a gdb with arcpy in ArcGIS server machine</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-gdb-with-arcpy-in-arcgis-server-machine/m-p/1592939#M41774</link>
      <description>&lt;P&gt;Hello, I’ve encountered a situation I hadn’t experienced before.&lt;/P&gt;&lt;P&gt;I developed a Python script that uses the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;arcpy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;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?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 19:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/create-a-gdb-with-arcpy-in-arcgis-server-machine/m-p/1592939#M41774</guid>
      <dc:creator>EnriqueMz</dc:creator>
      <dc:date>2025-03-06T19:06:43Z</dc:date>
    </item>
  </channel>
</rss>

