<?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: How to make python calls to arcgis.gis and pandas work outside jupyter? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793489#M1681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it was related, but I am asking for a more general question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2018 12:35:56 GMT</pubDate>
    <dc:creator>AllenGuan2</dc:creator>
    <dc:date>2018-07-20T12:35:56Z</dc:date>
    <item>
      <title>How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793486#M1678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My python scripts that call ArcGIS.gis and pandas module work fine in jupyter notebook. But failed when running as a standalone py file.&amp;nbsp; I used the same commands (see below)&amp;nbsp;to setup the environment before launching jupyter&amp;nbsp;notebook or the py file. Anything I missed for running the py file standalone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set PATH=C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3;C:\Program Files\ArcGIS\Pro\bin\Python\Scripts;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Scripts;%PATH%&lt;BR /&gt;set PYTHONPATH=C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages;%PYTHONPATH%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 15:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793486#M1678</guid>
      <dc:creator>AllenGuan2</dc:creator>
      <dc:date>2018-07-19T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793487#M1679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I see above you are looking to access the api from the python environment installed with pro.&lt;/P&gt;&lt;P&gt;Take a look at the following help topic, it will outline the different ways you can access and run a stand alone script from that environment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/using-conda-with-arcgis-pro.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/get-started/using-conda-with-arcgis-pro.htm"&gt;Run stand-alone scripts—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 16:23:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793487#M1679</guid>
      <dc:creator>JeffBigos</dc:creator>
      <dc:date>2018-07-19T16:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793488#M1680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allen, is this question related to your other one from today:&amp;nbsp; &lt;A href="https://community.esri.com/thread/218173-error-in-importing-arcgisgis-module"&gt;https://community.esri.com/thread/218173-error-in-importing-arcgisgis-module&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 20:26:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793488#M1680</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-07-19T20:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793489#M1681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it was related, but I am asking for a more general question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 12:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793489#M1681</guid>
      <dc:creator>AllenGuan2</dc:creator>
      <dc:date>2018-07-20T12:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793490#M1682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, don't know why, but if I replace my python script call in the bat file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BHP_AGOL_API_module_tests.py&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe" BHP_AGOL_API_module_tests.py&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then everything works fine, both arcgis.gis and pandas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:36:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793490#M1682</guid>
      <dc:creator>AllenGuan2</dc:creator>
      <dc:date>2018-07-20T13:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793491#M1683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the version of python that is associated with the anaconda distribution, hence it is the one that you should be using for Pro and ArcGIS work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 13:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793491#M1683</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-20T13:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793492#M1684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I thought my path setting should have taken care of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 15:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793492#M1684</guid>
      <dc:creator>AllenGuan2</dc:creator>
      <dc:date>2018-07-20T15:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to make python calls to arcgis.gis and pandas work outside jupyter?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793493#M1685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Allen, it is just easier to create desktop shortcuts to your python IDE (example uses spyder), Jupyter Notebook and IPython and the proenv.bat file.... see this for examples&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts"&gt;/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and one specifically for Jupyter&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2017/07/09/arcgis-pro-2-jupyter-notebook-setup-basics"&gt;/blogs/dan_patterson/2017/07/09/arcgis-pro-2-jupyter-notebook-setup-basics&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2018 15:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-to-make-python-calls-to-arcgis-gis-and-pandas/m-p/793493#M1685</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-20T15:27:30Z</dc:date>
    </item>
  </channel>
</rss>

