<?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 Trouble logging in using arcpy in a virtual machine in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/trouble-logging-in-using-arcpy-in-a-virtual/m-p/1105779#M6720</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a few python scripts that I use to update some of our maps over night.&lt;/P&gt;&lt;P&gt;I am in the process of moving these scripts from my computer to a VM so other team members will be able to access and maintain them if required.&lt;/P&gt;&lt;P&gt;However I am having issues using arcpy in the VM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to sign-in in the script using:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;gis = GIS("&lt;A href="https://www.arcgis.com" target="_blank" rel="noopener"&gt;https://www.arcgis.com&lt;/A&gt;", "Username", "Password")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The script will try and run that line but it will just hang there indefinitely without any error (I waited for a few hours before killing it).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screen shot of Jupyter attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VictorZhou1_0-1633662292078.png" style="width: 603px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24806iD8FB1F93CD8FB635/image-dimensions/603x103?v=v2" width="603" height="103" role="button" title="VictorZhou1_0-1633662292078.png" alt="VictorZhou1_0-1633662292078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VM is running Win 10 and has ArcGIS Pro Desktop installed and signed in.&lt;/P&gt;&lt;P&gt;I am also able to connect and grab content in ESRI online from the ArcGIS Pro Desktop.&lt;/P&gt;&lt;P&gt;I'm hoping someone can point out if there are some network or firewall settings I can discuss with our IT to try and sort this out.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 03:07:38 GMT</pubDate>
    <dc:creator>VictorZhou1</dc:creator>
    <dc:date>2021-10-08T03:07:38Z</dc:date>
    <item>
      <title>Trouble logging in using arcpy in a virtual machine</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/trouble-logging-in-using-arcpy-in-a-virtual/m-p/1105779#M6720</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a few python scripts that I use to update some of our maps over night.&lt;/P&gt;&lt;P&gt;I am in the process of moving these scripts from my computer to a VM so other team members will be able to access and maintain them if required.&lt;/P&gt;&lt;P&gt;However I am having issues using arcpy in the VM.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to sign-in in the script using:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;gis = GIS("&lt;A href="https://www.arcgis.com" target="_blank" rel="noopener"&gt;https://www.arcgis.com&lt;/A&gt;", "Username", "Password")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The script will try and run that line but it will just hang there indefinitely without any error (I waited for a few hours before killing it).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screen shot of Jupyter attached.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VictorZhou1_0-1633662292078.png" style="width: 603px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24806iD8FB1F93CD8FB635/image-dimensions/603x103?v=v2" width="603" height="103" role="button" title="VictorZhou1_0-1633662292078.png" alt="VictorZhou1_0-1633662292078.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VM is running Win 10 and has ArcGIS Pro Desktop installed and signed in.&lt;/P&gt;&lt;P&gt;I am also able to connect and grab content in ESRI online from the ArcGIS Pro Desktop.&lt;/P&gt;&lt;P&gt;I'm hoping someone can point out if there are some network or firewall settings I can discuss with our IT to try and sort this out.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 03:07:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/trouble-logging-in-using-arcpy-in-a-virtual/m-p/1105779#M6720</guid>
      <dc:creator>VictorZhou1</dc:creator>
      <dc:date>2021-10-08T03:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble logging in using arcpy in a virtual machine</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/trouble-logging-in-using-arcpy-in-a-virtual/m-p/1105841#M6721</link>
      <description>&lt;P&gt;don't use it, but you didn't indicate whether you had seen the documentation and requirements for virtualized environments&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/get-started/virtualization-overview.htm" target="_blank"&gt;ArcGIS Pro in a virtualized environment—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 10:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/trouble-logging-in-using-arcpy-in-a-virtual/m-p/1105841#M6721</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-10-08T10:24:55Z</dc:date>
    </item>
  </channel>
</rss>

