<?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 How do you get Python packages installed with conda/pip to show up in the Python Package Manager? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312287#M13525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need access to Azure 4.0.0. There is (of course) a pip install available, but no conda install (highest version for conda install is 1.0.2). Accordingly, I created a cloned environment, and installed from the command line via conda and pip:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;SPAN style="color: #404040; font-size: 9.0pt;"&gt;activate&amp;nbsp;arcgispro-py3-azure-crypto (my cloned environment; pip is already in this environment, however, I did upgrade pip to 19.1.1.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;SPAN style="color: #404040; font-size: 9.0pt;"&gt;pip&amp;nbsp;install azure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I list packages in conda, everything looks fine:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Results of " conda="" list="" /&gt;&lt;/P&gt;&lt;P&gt;However, when I look at the environment in Pro, nothing is there:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Installed Python packages" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/450068_Pro_installed_packages.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Available Python packages" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/450069_Pro_available_packages.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Everything is working, which means the conda listing is correct (and the packages are installed in the appropriate envs directory, but not in the pkgs directory of &amp;lt;localappdata&amp;gt;\ESRI\conda), but it’s just not showing up in the Pro Python Package Manager. I did a little digging around, and it looks like the Python Package Manager is actually reading the above contents from C:\Program Files\ArcGIS\Pro\bin\Python\pkg-metadata\metadata.json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Question 1: How do I get these pip-installed packages to show up in the Python Package Manager?&lt;/LI&gt;&lt;LI&gt;Question 2: Is the Python Package Manager reading from the metadata.json file, and if so, how do we update it?&lt;/LI&gt;&lt;LI&gt;Question&amp;nbsp;3 (and this is a larger question): What is the best practice for installing our stuff in conda world? Are we OK to install our own packages directly to the arcgispro-py3 environment, or should we be creating a new environment (or selecting another existing environment) and installing to that?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 16:18:59 GMT</pubDate>
    <dc:creator>TracyThorleifson</dc:creator>
    <dc:date>2019-06-11T16:18:59Z</dc:date>
    <item>
      <title>How do you get Python packages installed with conda/pip to show up in the Python Package Manager?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312287#M13525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need access to Azure 4.0.0. There is (of course) a pip install available, but no conda install (highest version for conda install is 1.0.2). Accordingly, I created a cloned environment, and installed from the command line via conda and pip:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;SPAN style="color: #404040; font-size: 9.0pt;"&gt;activate&amp;nbsp;arcgispro-py3-azure-crypto (my cloned environment; pip is already in this environment, however, I did upgrade pip to 19.1.1.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;SPAN style="color: #404040; font-size: 9.0pt;"&gt;pip&amp;nbsp;install azure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I list packages in conda, everything looks fine:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Results of " conda="" list="" /&gt;&lt;/P&gt;&lt;P&gt;However, when I look at the environment in Pro, nothing is there:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Installed Python packages" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/450068_Pro_installed_packages.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Available Python packages" class="image-3 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/450069_Pro_available_packages.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Everything is working, which means the conda listing is correct (and the packages are installed in the appropriate envs directory, but not in the pkgs directory of &amp;lt;localappdata&amp;gt;\ESRI\conda), but it’s just not showing up in the Pro Python Package Manager. I did a little digging around, and it looks like the Python Package Manager is actually reading the above contents from C:\Program Files\ArcGIS\Pro\bin\Python\pkg-metadata\metadata.json.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Question 1: How do I get these pip-installed packages to show up in the Python Package Manager?&lt;/LI&gt;&lt;LI&gt;Question 2: Is the Python Package Manager reading from the metadata.json file, and if so, how do we update it?&lt;/LI&gt;&lt;LI&gt;Question&amp;nbsp;3 (and this is a larger question): What is the best practice for installing our stuff in conda world? Are we OK to install our own packages directly to the arcgispro-py3 environment, or should we be creating a new environment (or selecting another existing environment) and installing to that?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tracy&lt;/P&gt;&lt;P style="background: #EEEEEE;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312287#M13525</guid>
      <dc:creator>TracyThorleifson</dc:creator>
      <dc:date>2019-06-11T16:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get Python packages installed with conda/pip to show up in the Python Package Manager?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312288#M13526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;don't worry about the package manager, it seems fixed.&lt;/P&gt;&lt;P&gt;As for conda installs, you don't need to clone if you have full admin rights&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/12/28/clone"&gt;/blogs/dan_patterson/2018/12/28/clone&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/07/01/arcgis-pro-your-conda-environments"&gt;/blogs/dan_patterson/2018/07/01/arcgis-pro-your-conda-environments&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312288#M13526</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-11T16:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get Python packages installed with conda/pip to show up in the Python Package Manager?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312289#M13527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for replying so promptly. I actually checked out &lt;EM&gt;your&lt;/EM&gt; posts before I posted. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Anyway, &lt;EM&gt;conda&lt;/EM&gt; installs work just fine; conda installs &lt;EM&gt;do&lt;/EM&gt; show up in the Package Manager. It's &lt;EM&gt;pip&lt;/EM&gt; installs that are giving me fits. Yes, I know, conda and pip don't always play well together, and we need conda to deal with non-Python dependencies, but pip is the official Python installer, and conda installs often lag pip installs by several versions. That's my problem: I need the latest and greatest from Azure, and the available conda install doesn't cut it. As I mentioned above, the packages are there and working properly, they just don't show up in the Package Manager (which is then a bit misleading to the user, eh?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to best practices for installing our own software, what I'm really looking for is some guidance from Esri. We've always installed into the default Esri Pro Python environment, but at 2.2, even users with admin privileges can't do so through the Package Manager GUI. (You, can of course, have your way with things at the command line.) So, if I'm installing my own Python site package, should I do so only in a cloned environment, or not, as a matter of best practice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 16:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312289#M13527</guid>
      <dc:creator>TracyThorleifson</dc:creator>
      <dc:date>2019-06-11T16:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get Python packages installed with conda/pip to show up in the Python Package Manager?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312290#M13528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I download the *.exe, unzip in a folder keep the *.msi and *.cab.&amp;nbsp; Worst comes to worse, wipe ArcAnything from the machine and reinstall. The package manager is for clones.&amp;nbsp; I use conda and install in the base environment&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps this protracted discussion between Cheryl and I as we parachuted on another post might be of interest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/226754-trouble-installing-spyder#comment-856644" title="https://community.esri.com/thread/226754-trouble-installing-spyder#comment-856644"&gt;https://community.esri.com/thread/226754-trouble-installing-spyder#comment-856644&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for 'official' package installers, there is official and officialish and GitHub and whatever.&amp;nbsp; Nothing guarantees things will work well under all circumstances &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 18:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312290#M13528</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-06-11T18:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get Python packages installed with conda/pip to show up in the Python Package Manager?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312291#M13529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;Yes, we currently install to the base environment, too (thus our installers require admin privileges). Actually, this whole thread came up as a result of one of our Python toolbox&amp;nbsp;tools throwing an error on my machine because YT was attempting to run in an environment where&amp;nbsp;I had &lt;EM&gt;not&lt;/EM&gt; installed the underlying site package. (Causing me to realize&amp;nbsp;our Python toolbox tools&amp;nbsp;need to trap for that, too. Ah, the brave new world of conda. Grr.) As I dug into it, I realized that &lt;EM&gt;none&lt;/EM&gt; of our pip-installed dependency packages were showing up at all. So there you go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With respect to &lt;EM&gt;our&lt;/EM&gt; installers, it occurs to me that it might be proper to actually present the user with a checkbox list of the&amp;nbsp;existing environments, and prompt them to &lt;EM&gt;select&lt;/EM&gt;&amp;nbsp;the environments in which they want our software to be installed, and/or specify a new environment in which to install the software. If the user lacks admin privileges, we could exclude the base environment as a choice. Of course, all of this goodness would complicate our installers considerably, which is why I'm seeking feedback from the Esri poobahs. If Esri would rather we not install into the base environment at all, we could make that happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 18:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-do-you-get-python-packages-installed-with/m-p/312291#M13529</guid>
      <dc:creator>TracyThorleifson</dc:creator>
      <dc:date>2019-06-11T18:51:54Z</dc:date>
    </item>
  </channel>
</rss>

