<?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 Re: Unable to get Standard or Advanced Concurrent Use license running python script outside ArcGIS Pro in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1597779#M73936</link>
    <description>&lt;P&gt;This worked perfectly for me (ArcGIS Pro 3.2 Concurrent License).&amp;nbsp; Just ran the following before importing arcpy.&amp;nbsp; Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204637"&gt;@BobWagner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'ESRI_SOFTWARE_CLASS_PRO'&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'Professional'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 20 Mar 2025 20:32:37 GMT</pubDate>
    <dc:creator>AustinBMartin</dc:creator>
    <dc:date>2025-03-20T20:32:37Z</dc:date>
    <item>
      <title>Unable to get Standard or Advanced Concurrent Use license running python script outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1554660#M73132</link>
      <description>&lt;P&gt;I have a concurrent use license and Basic, Standard, and Advanced licenses are available.&amp;nbsp; I have ArcGIS Pro open and I have a standard license set up for offline use. In my script I am importing arceditor before arcpy.&amp;nbsp; When I run the script from VS Code I get tool not licensed message on&amp;nbsp;arcpy.management.RegisterWithGeodatabase.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run arcpy.ProductInfo() I get ArcView.&amp;nbsp; when I run arcpy.CheckProduct I get Available for each of the license levels.&lt;/P&gt;&lt;P&gt;I am able to run tools that only require a Basic license level.&lt;/P&gt;&lt;P&gt;ArcGIS Pro version 3.1.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 12:57:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1554660#M73132</guid>
      <dc:creator>BobWagner</dc:creator>
      <dc:date>2024-11-01T12:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Standard or Advanced Concurrent Use license running python script outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1554709#M73133</link>
      <description>&lt;P&gt;I figured out the issue.&amp;nbsp; We use&amp;nbsp; 3 different bat files to run ArcPro to switch between license levels.&amp;nbsp; In the bat file we set&amp;nbsp; an environment variable using&amp;nbsp;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'ESRI_SOFTWARE_CLASS_PRO'&lt;/SPAN&gt;&lt;SPAN&gt;] to either Viewer, Editor, or Professional and when ArcPro starts it uses the appropriate license.&amp;nbsp; The arcpy script was not recognizing that license but whatever concurrent license was last set when just starting ArcGIS Pro without setting the environment variable.&amp;nbsp; In my case that was a basic license.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Setting the environment variable in my script before importing arcpro solved the issue.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;os&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'ESRI_SOFTWARE_CLASS_PRO'&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'Editor'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;arcpy&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Setting the environment variable to Viewer, Editor, or Professional before importing arcpro will change the result of running arcpy.ProductInfo().&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 01 Nov 2024 15:10:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1554709#M73133</guid>
      <dc:creator>BobWagner</dc:creator>
      <dc:date>2024-11-01T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Standard or Advanced Concurrent Use license running python script outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1565518#M73286</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 12:16:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1565518#M73286</guid>
      <dc:creator>ShaneONeill_144</dc:creator>
      <dc:date>2024-12-06T12:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get Standard or Advanced Concurrent Use license running python script outside ArcGIS Pro</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1597779#M73936</link>
      <description>&lt;P&gt;This worked perfectly for me (ArcGIS Pro 3.2 Concurrent License).&amp;nbsp; Just ran the following before importing arcpy.&amp;nbsp; Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/204637"&gt;@BobWagner&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import os&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;os&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;environ&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;'ESRI_SOFTWARE_CLASS_PRO'&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;'Professional'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Mar 2025 20:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-get-standard-or-advanced-concurrent-use/m-p/1597779#M73936</guid>
      <dc:creator>AustinBMartin</dc:creator>
      <dc:date>2025-03-20T20:32:37Z</dc:date>
    </item>
  </channel>
</rss>

