<?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 Installing API without dependencies (--no-deps) failing in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219237#M7858</link>
    <description>&lt;P&gt;I'm trying to install a lightweight version of ArcGIS Python API using conda and Anaconda. &lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/" target="_blank" rel="noopener"&gt;The documentation&lt;/A&gt; states that using the `--no-deps` flag will lead to a ~50MB install.&lt;/P&gt;&lt;P&gt;When I try this on a windows 10 machine using Anaconda the install fails with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ERROR conda.core.link:_execute(732): An error occurred while installing package 'esri::arcgis-1.8.3-py38_1668'.
Rolling back transaction: done

LinkError: post-link script failed for package esri::arcgis-1.8.3-py38_1668
location of failed script: C:\Users\User\Anaconda3\envs\Arc183\Scripts\.arcgis-post-link.bat
==&amp;gt; script messages &amp;lt;==
Manually uninstall any prior version of arcgis widget using:
        "jupyter nbextension uninstall arcgis --user" and
        "jupyter nbextension uninstall arcgis"
'"C:\Users\User\Anaconda3\envs\Arc183\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.
'"C:\Users\User\Anaconda3\envs\Arc183\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.

==&amp;gt; script output &amp;lt;==
stdout: jupyter nbextension command failed: map widgets in the jupyter notebook may not work, installation continuing...
jupyter nbextension command failed: map widgets in the jupyter notebook may not work, installation continuing...

stderr:
return code: 9009&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have previously installed the recommended 6 packages and set the version of ArcGIS API to 1.8.3 as referenced in the article.&lt;/P&gt;&lt;P&gt;Adding jupyter_nbextensions and its dependencies inflates the total footprint of the environment up to ~750MB. This is too big for my purposes.&lt;/P&gt;&lt;P&gt;How can I keep this env size low?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 08:27:13 GMT</pubDate>
    <dc:creator>Oliver_Burdekin</dc:creator>
    <dc:date>2022-10-06T08:27:13Z</dc:date>
    <item>
      <title>Installing API without dependencies (--no-deps) failing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219237#M7858</link>
      <description>&lt;P&gt;I'm trying to install a lightweight version of ArcGIS Python API using conda and Anaconda. &lt;A href="https://developers.arcgis.com/python/guide/install-and-set-up/" target="_blank" rel="noopener"&gt;The documentation&lt;/A&gt; states that using the `--no-deps` flag will lead to a ~50MB install.&lt;/P&gt;&lt;P&gt;When I try this on a windows 10 machine using Anaconda the install fails with the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;ERROR conda.core.link:_execute(732): An error occurred while installing package 'esri::arcgis-1.8.3-py38_1668'.
Rolling back transaction: done

LinkError: post-link script failed for package esri::arcgis-1.8.3-py38_1668
location of failed script: C:\Users\User\Anaconda3\envs\Arc183\Scripts\.arcgis-post-link.bat
==&amp;gt; script messages &amp;lt;==
Manually uninstall any prior version of arcgis widget using:
        "jupyter nbextension uninstall arcgis --user" and
        "jupyter nbextension uninstall arcgis"
'"C:\Users\User\Anaconda3\envs\Arc183\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.
'"C:\Users\User\Anaconda3\envs\Arc183\Scripts\jupyter-nbextension.exe"' is not recognized as an internal or external command,
operable program or batch file.

==&amp;gt; script output &amp;lt;==
stdout: jupyter nbextension command failed: map widgets in the jupyter notebook may not work, installation continuing...
jupyter nbextension command failed: map widgets in the jupyter notebook may not work, installation continuing...

stderr:
return code: 9009&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have previously installed the recommended 6 packages and set the version of ArcGIS API to 1.8.3 as referenced in the article.&lt;/P&gt;&lt;P&gt;Adding jupyter_nbextensions and its dependencies inflates the total footprint of the environment up to ~750MB. This is too big for my purposes.&lt;/P&gt;&lt;P&gt;How can I keep this env size low?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 08:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219237#M7858</guid>
      <dc:creator>Oliver_Burdekin</dc:creator>
      <dc:date>2022-10-06T08:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Installing API without dependencies (--no-deps) failing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219239#M7859</link>
      <description>&lt;P&gt;Did you use the&lt;/P&gt;&lt;P&gt;conda install -c esri arcgis --no-deps&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;pip install arcgis --no-deps&lt;/P&gt;&lt;P&gt;I have had more success using pip install vs conda when it comes to anything involving the arcpy and/or arcgis packages since the dependency trail is hard to navigate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ADDENDUM&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/1149" target="_blank"&gt;Documentation on minimum dependencies needs update, enhancement? · Issue #1149 · Esri/arcgis-python-api (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;check to see if the documentation was indeed updates&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 08:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219239#M7859</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-10-06T08:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Installing API without dependencies (--no-deps) failing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219240#M7860</link>
      <description>&lt;P&gt;Thanks Dan, I've been trying with Conda but will give it a shot with pip.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 08:26:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219240#M7860</guid>
      <dc:creator>Oliver_Burdekin</dc:creator>
      <dc:date>2022-10-06T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Installing API without dependencies (--no-deps) failing</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219242#M7861</link>
      <description>&lt;P&gt;Oliver, I just added an addendum&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 08:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/installing-api-without-dependencies-no-deps/m-p/1219242#M7861</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-10-06T08:30:11Z</dc:date>
    </item>
  </channel>
</rss>

