<?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 pip install &amp;lt;some package&amp;gt; fails in Juypter notebooks in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269666#M67157</link>
    <description>&lt;P&gt;I recently learned about the option to use pip install in a Jupyter notebook to temporarily install a package.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try this in my install for ArcGIS Pro 3.0.3, it fails with the following message&lt;/P&gt;&lt;LI-CODE lang="c"&gt;pip install squarify

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that pip is installed in C:\Program Files\ArcGIS\Pro\bin\Python with the space in Program Files causing the problem.&lt;/P&gt;&lt;P&gt;Using pip install in a stand alone Anaconda environment works with no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 21:32:46 GMT</pubDate>
    <dc:creator>DavidAnderson_1701</dc:creator>
    <dc:date>2023-03-20T21:32:46Z</dc:date>
    <item>
      <title>pip install &lt;some package&gt; fails in Juypter notebooks</title>
      <link>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269666#M67157</link>
      <description>&lt;P&gt;I recently learned about the option to use pip install in a Jupyter notebook to temporarily install a package.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try this in my install for ArcGIS Pro 3.0.3, it fails with the following message&lt;/P&gt;&lt;LI-CODE lang="c"&gt;pip install squarify

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm assuming that pip is installed in C:\Program Files\ArcGIS\Pro\bin\Python with the space in Program Files causing the problem.&lt;/P&gt;&lt;P&gt;Using pip install in a stand alone Anaconda environment works with no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 21:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269666#M67157</guid>
      <dc:creator>DavidAnderson_1701</dc:creator>
      <dc:date>2023-03-20T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: pip install &lt;some package&gt; fails in Juypter notebooks</title>
      <link>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269911#M67159</link>
      <description>&lt;P&gt;Hey David, I believe you are correct. Can I just confirm if your ArcGIS Pro install is using the default Python environment or have you cloned this?&lt;/P&gt;&lt;P&gt;By default the default Python environment is installed under C:\Program Files\ArcGIS\Pro\bin\Python\envs, while cloned environments are stored under C:\Users\&amp;lt;USERNAME&amp;gt;\AppData\Local\ESRI\conda\envs.&lt;/P&gt;&lt;P&gt;Please also note that the Default environment is read-only so any installs should be done against a cloned environment.&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269911#M67159</guid>
      <dc:creator>David_McRitchie</dc:creator>
      <dc:date>2023-03-21T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: pip install &lt;some package&gt; fails in Juypter notebooks</title>
      <link>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269929#M67160</link>
      <description>&lt;P&gt;Correct.&amp;nbsp; This was done using the default Python environment.&amp;nbsp; I will create a clone environment for the workflow requiring the additional package.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:40:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pip-install-lt-some-package-gt-fails-in-juypter/m-p/1269929#M67160</guid>
      <dc:creator>DavidAnderson_1701</dc:creator>
      <dc:date>2023-03-21T16:40:01Z</dc:date>
    </item>
  </channel>
</rss>

