<?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: Add custom Python module in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141068#M7093</link>
    <description>&lt;P&gt;you don't, the package is created during the install process.&amp;nbsp; If you have access to another machine you could give copying the distribution folder in site_packages folder to your machine.&amp;nbsp; They don't distribute wheels either.&lt;/P&gt;</description>
    <pubDate>Sun, 06 Feb 2022 18:52:42 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2022-02-06T18:52:42Z</dc:date>
    <item>
      <title>Add custom Python module</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141032#M7087</link>
      <description>&lt;P&gt;I need to import a custom Python module (&lt;A href="https://github.com/niconoe/pyinaturalist" target="_self"&gt;pyinaturalist&lt;/A&gt;) in ArcGIS Pro.&lt;/P&gt;&lt;P&gt;I created a copy of the base Python environment in the Conda Manager within ArcGIS Pro, but I did not find the module I need in the list of available modules.&lt;/P&gt;&lt;P&gt;I tried the suggestions on &lt;A href="https://support.esri.com/en/technical-article/000016978" target="_self"&gt;this site&lt;/A&gt;; however,&lt;/P&gt;&lt;PRE&gt;myPythonModules = r"C:\Users\Manuel\Python\lib\site-packages\pyinaturalist"&lt;BR /&gt;sys.path.append(myPythonModules)&lt;BR /&gt;import pyinaturalist&lt;/PRE&gt;&lt;P&gt;just produced to this error:&lt;/P&gt;&lt;PRE&gt;---------------------------------------------------------------------------&lt;BR /&gt;ModuleNotFoundError Traceback (most recent call last)&lt;BR /&gt;In [3]:&lt;BR /&gt;Line 3: import pyinaturalist&lt;BR /&gt;&lt;BR /&gt;ModuleNotFoundError: No module named 'pyinaturalist'&lt;BR /&gt;--------------------------------------------------------------------------&lt;/PRE&gt;&lt;P&gt;the other suggestion, to add the line&lt;/P&gt;&lt;PRE&gt;import sys; sys.path.append(r"C:\Users\Manuel\Python\lib\site-packages\pyinaturalist")&lt;/PRE&gt;&lt;P&gt;to &lt;EM&gt;Program Files &amp;gt; ArcGIS &amp;gt; Pro &amp;gt; bin &amp;gt; Python &amp;gt; envs &amp;gt; arcgispro-py3 &amp;gt; Lib &amp;gt; site-packages &amp;gt; &lt;STRONG&gt;ArcGISPro.pth&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;was also not working.&lt;/P&gt;&lt;P&gt;So how can I import custom modules and use them in ArcGIS Pro?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 05:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141032#M7087</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2022-02-06T05:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom Python module</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141033#M7088</link>
      <description>&lt;P&gt;pip install pyinaturalist&lt;/P&gt;&lt;P&gt;is how they said to install it.&amp;nbsp; pip comes with your conda distribution&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 06:11:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141033#M7088</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-06T06:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom Python module</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141034#M7089</link>
      <description>&lt;P&gt;Thanks, I didn't know I could just run pip install from the Python Command Prompt since the explanations suggested all these other things. (Also, I rarely use Windows and would usually activate a virtual environment from a regular Terminal and then use pip install (I haven't found a way to activate the environment from the Windows Command Prompt and hence gave up on that route))&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 06:42:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141034#M7089</guid>
      <dc:creator>Manu</dc:creator>
      <dc:date>2022-02-06T06:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom Python module</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141067#M7092</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;and how can I getting import working without pip install?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 18:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141067#M7092</guid>
      <dc:creator>KarstenRank</dc:creator>
      <dc:date>2022-02-06T18:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add custom Python module</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141068#M7093</link>
      <description>&lt;P&gt;you don't, the package is created during the install process.&amp;nbsp; If you have access to another machine you could give copying the distribution folder in site_packages folder to your machine.&amp;nbsp; They don't distribute wheels either.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 18:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/add-custom-python-module/m-p/1141068#M7093</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-02-06T18:52:42Z</dc:date>
    </item>
  </channel>
</rss>

