<?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 arcpy Pro notebook old arcpy.SetProduct(&amp;quot;arcinfo&amp;quot;) &amp;lt;-&amp;gt; arcpy.CheckProduct(&amp;quot;ArcInfo&amp;quot;) question? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-pro-notebook-old-arcpy-setproduct-quot/m-p/1143944#M63753</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have a concurrent license model on a seperate server. We are only allowed to check out the advanced license for the needed time ... . In arcpy ArcMap you could set the product temporarily very easy, in Pro 2.8 notebook this doesn't seem to work with check product in our case.&lt;/P&gt;&lt;P&gt;There's always the message "ArcGIS for Desktop Advanced license not available" even if more than one&amp;nbsp; license is available with the following code?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import sys
import arcpy

arcpy.env.workspace = "c:/data/world.gdb"

if arcpy.CheckProduct("ArcInfo") == "Available":
    arcpy.PolygonToLine_management("Lakes", "LakeLines")
else:
    msg = 'ArcGIS for Desktop Advanced license not available'
    print(msg)
    sys.exit(msg)&lt;/LI-CODE&gt;&lt;P&gt;Does this work only with licenses saved online?&lt;/P&gt;&lt;P&gt;Are there any workarounds?&lt;/P&gt;&lt;P&gt;It would be very uncomfortable to check out the license manually in Pro every time the advanced license is needed ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 06:41:23 GMT</pubDate>
    <dc:creator>JohannesBierer</dc:creator>
    <dc:date>2022-02-15T06:41:23Z</dc:date>
    <item>
      <title>arcpy Pro notebook old arcpy.SetProduct("arcinfo") &lt;-&gt; arcpy.CheckProduct("ArcInfo") question?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-pro-notebook-old-arcpy-setproduct-quot/m-p/1143944#M63753</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;we have a concurrent license model on a seperate server. We are only allowed to check out the advanced license for the needed time ... . In arcpy ArcMap you could set the product temporarily very easy, in Pro 2.8 notebook this doesn't seem to work with check product in our case.&lt;/P&gt;&lt;P&gt;There's always the message "ArcGIS for Desktop Advanced license not available" even if more than one&amp;nbsp; license is available with the following code?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;import sys
import arcpy

arcpy.env.workspace = "c:/data/world.gdb"

if arcpy.CheckProduct("ArcInfo") == "Available":
    arcpy.PolygonToLine_management("Lakes", "LakeLines")
else:
    msg = 'ArcGIS for Desktop Advanced license not available'
    print(msg)
    sys.exit(msg)&lt;/LI-CODE&gt;&lt;P&gt;Does this work only with licenses saved online?&lt;/P&gt;&lt;P&gt;Are there any workarounds?&lt;/P&gt;&lt;P&gt;It would be very uncomfortable to check out the license manually in Pro every time the advanced license is needed ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 06:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-pro-notebook-old-arcpy-setproduct-quot/m-p/1143944#M63753</guid>
      <dc:creator>JohannesBierer</dc:creator>
      <dc:date>2022-02-15T06:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy Pro notebook old arcpy.SetProduct("arcinfo") &lt;-&gt; arcpy.CheckProduct("ArcInfo") question?</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-pro-notebook-old-arcpy-setproduct-quot/m-p/1144004#M63758</link>
      <description>&lt;P&gt;And the Note in the followup link&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/geoprocessing_and_python/accessing-licenses-and-extensions-in-python.htm" target="_blank" rel="noopener"&gt;Accessing licenses and extensions in Python—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sends you off to CheckInExtension etc. because CheckProduct has no effect in some situations.&lt;/P&gt;&lt;P&gt;(why everyone is licensed for everything is beyond me... it would make things so much easier... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 12:40:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-pro-notebook-old-arcpy-setproduct-quot/m-p/1144004#M63758</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-15T12:40:01Z</dc:date>
    </item>
  </channel>
</rss>

