<?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 import arcpy via Pycharm in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341220#M26757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see my and Shaun Walbridge's replies to &lt;A href="https://community.esri.com/thread/219641-can-arc-gis-pro-intergrate-with-jetbrains-pycharm"&gt;https://community.esri.com/thread/219641-can-arc-gis-pro-intergrate-with-jetbrains-pycharm&lt;/A&gt;.&amp;nbsp; If you have questions after reading the Esri and Jet Brains documentation, you can ask follow-up questions here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 14:35:08 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2018-09-28T14:35:08Z</dc:date>
    <item>
      <title>Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341219#M26756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;I am trying to build python scripts in Pycharm to run in ArcGIS Pro 2.2.2. When I run a script which includes "import arcpy" I get the following Error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "C:/Users/vmrenfor/Python Scripts/venv/Scripts/Dapp Uploads.py", line 2, in &amp;lt;module&amp;gt;&lt;BR /&gt; import arcpy&lt;BR /&gt;ModuleNotFoundError: No module named 'arcpy'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get around this? I am a novice to python and the terminology that goes along with it, so please be specific and write out acronym meanings the first time you type it.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 14:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341219#M26756</guid>
      <dc:creator>VanceRenforth2</dc:creator>
      <dc:date>2018-09-28T14:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341220#M26757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see my and Shaun Walbridge's replies to &lt;A href="https://community.esri.com/thread/219641-can-arc-gis-pro-intergrate-with-jetbrains-pycharm"&gt;https://community.esri.com/thread/219641-can-arc-gis-pro-intergrate-with-jetbrains-pycharm&lt;/A&gt;.&amp;nbsp; If you have questions after reading the Esri and Jet Brains documentation, you can ask follow-up questions here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 14:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341220#M26757</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-09-28T14:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341221#M26758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;In following the steps in the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.jetbrains.com%2Fhelp%2Fpycharm%2Fconfiguring-python-interpreter.html" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Configuring Python Interpreter - Help | PyCharm&lt;/A&gt;, I get stuck at step 3, "Specify the location of the Conda executable file in the text field, or click&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;IMG alt="Conda executable location" class="" height="15" src="https://www.jetbrains.com/help/img/idea/2018.2/browseButton.png" style="border: 0px; font-size: 16px;" title="Conda executable location" width="15" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and find location in the Conda installation directory." What is the "Conda executable file"? Was this installed with Conda? What format is it in? Where should I expect to find it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 18:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341221#M26758</guid>
      <dc:creator>VanceRenforth2</dc:creator>
      <dc:date>2018-09-28T18:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341222#M26759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends where you chose when you installed ArcGIS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For me its this file here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files\ArcGIS\Pro\bin\Python\python.exe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 15:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341222#M26759</guid>
      <dc:creator>LukeWebb</dc:creator>
      <dc:date>2018-10-01T15:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341223#M26760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting with ArcGIS Pro 2.2, there is no &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;python.exe&lt;/SPAN&gt; in that path anymore.&amp;nbsp; The base/bundled &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;python.exe&lt;/SPAN&gt; is under the &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;arcgispro-py3&lt;/SPAN&gt; virtual environment:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 16:29:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341223#M26760</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-10-01T16:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341224#M26761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your Pro-bunded Python interpreter is going to be your primary interpreter with PyCharm, I suggest &lt;A class="link-titled" href="https://www.jetbrains.com/help/pycharm/configuring-local-python-interpreters.html" title="https://www.jetbrains.com/help/pycharm/configuring-local-python-interpreters.html"&gt;Configuring System Interpreter - Help | PyCharm&lt;/A&gt; using the the base/default Pro virtual environment.&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 16:56:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341224#M26761</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-10-01T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341225#M26762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I go through the above mentioned path and find python.exe, and set that location as the Conda executable file I receive the below failure message.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Non-zero exit code" class="image-1 jive-image j-img-original" src="/legacyfs/online/423452_Non-zero exit code.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do find this file when I follow the path in windows explorer...&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/423454_file path.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 23:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341225#M26762</guid>
      <dc:creator>VanceRenforth2</dc:creator>
      <dc:date>2018-10-01T23:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341226#M26763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea how to get around the below stated issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 14:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341226#M26763</guid>
      <dc:creator>VanceRenforth2</dc:creator>
      <dc:date>2018-10-10T14:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to import arcpy via Pycharm</title>
      <link>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341227#M26764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As the screenshots in the PyCharm documentation state, you will need admin permissions to the install packages for the system interpreter?&amp;nbsp; Do you have admin permissions to the folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking of the changes Esri made to the bundled Python interperter in Pro, it might be best to just go with per-project virtual environment instead and selecting an existing interperter instead of creating a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From &lt;A class="link-titled" href="https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html" title="https://www.jetbrains.com/help/pycharm/creating-virtual-environment.html"&gt;Configuring Virtualenv Environment - Help | PyCharm&lt;/A&gt;:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;UL&gt;&lt;LI class=""&gt;&lt;P&gt;If &lt;SPAN class=""&gt;Existing environment&lt;/SPAN&gt; is selected:&lt;/P&gt;&lt;OL class=""&gt;&lt;LI class=""&gt;&lt;P&gt;Specify the required interpreter: use the drop-down list, or click &lt;IMG alt="Select an interpreter" class="" height="15" src="https://www.jetbrains.com/help/img/idea/2018.2/browseButton.png" title="Select an interpreter" width="15" /&gt; and find one in your file system.&lt;/P&gt;&lt;/LI&gt;&lt;LI class=""&gt;&lt;P&gt;Select the check-box &lt;SPAN class=""&gt;Make available to all projects&lt;/SPAN&gt;, if needed.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI class=""&gt;&lt;P&gt;Click &lt;SPAN class=""&gt;OK&lt;/SPAN&gt; to complete the task.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 14:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/unable-to-import-arcpy-via-pycharm/m-p/341227#M26764</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-10-12T14:20:25Z</dc:date>
    </item>
  </channel>
</rss>

