<?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: bug pip pipenv install arcgis in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1293957#M8739</link>
    <description>&lt;P&gt;+ 1: Would love to know of a fix also&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 05:37:33 GMT</pubDate>
    <dc:creator>GISAdministrator_LMCC</dc:creator>
    <dc:date>2023-05-30T05:37:33Z</dc:date>
    <item>
      <title>bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1284197#M8642</link>
      <description>&lt;P&gt;Hello i just found a bug at the moment of installing arcgis with pip or pipenv, no matter if i try with or without dependencies the error is the same&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;error in arcgis setup command: 'install_requires' must be a string or list of strings containing valid project/version&lt;BR /&gt;requirement specifiers; [32m[1mExpected[0m end or semicolon (after version specifier)&lt;BR /&gt;keyring &amp;gt;=19,&amp;lt;=21.8.*&lt;/P&gt;&lt;P&gt;note: This error originates from a subprocess, and is likely not a problem with pip.&lt;BR /&gt;error: metadata-generation-failed&lt;/P&gt;&lt;P&gt;× Encountered error while generating package metadata.&lt;BR /&gt;╰─&amp;gt; See above for output.&lt;/P&gt;&lt;P&gt;note: This is an issue with the package mentioned above, not pip.&lt;BR /&gt;hint: See above for details.&lt;BR /&gt;[0m&lt;BR /&gt;This is likely caused by a bug in [32marcgis[0m. Report this to its maintainers.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 22:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1284197#M8642</guid>
      <dc:creator>degarzonm</dc:creator>
      <dc:date>2023-04-30T22:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1289032#M8691</link>
      <description>&lt;P&gt;I've got the same error. Any ideas on how to solve it?&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 07:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1289032#M8691</guid>
      <dc:creator>LinasSpraunius</dc:creator>
      <dc:date>2023-05-15T07:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1293957#M8739</link>
      <description>&lt;P&gt;+ 1: Would love to know of a fix also&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 05:37:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1293957#M8739</guid>
      <dc:creator>GISAdministrator_LMCC</dc:creator>
      <dc:date>2023-05-30T05:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294345#M8740</link>
      <description>&lt;P&gt;Any luck??? Incredible that we can't deploy our function because of this error on the cloud(it was working properly previously!). Cloud function uses pip, not conda.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Collecting arcgis==2.0.1 (from -r requirements.txt (line 4))&lt;BR /&gt;Using cached arcgis-2.0.1.tar.gz (13.9 MB)&lt;BR /&gt;Installing build dependencies ... done&lt;BR /&gt;Getting requirements to build wheel ... done&lt;BR /&gt;Installing backend dependencies ... done&lt;BR /&gt;Preparing metadata (pyproject.toml) ... error&lt;BR /&gt;error: subprocess-exited-with-error&lt;/P&gt;&lt;P&gt;× Preparing metadata (pyproject.toml) did not run successfully.&lt;BR /&gt;│ exit code: 1&lt;BR /&gt;╰─&amp;gt; [3 lines of output]&lt;BR /&gt;error in arcgis setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)&lt;BR /&gt;keyring &amp;gt;=23.3.*&lt;BR /&gt;~~~~~~^&lt;BR /&gt;[end of output]&lt;/P&gt;&lt;P&gt;note: This error originates from a subprocess, and is likely not a problem with pip.&lt;BR /&gt;error: metadata-generation-failed&lt;/P&gt;&lt;P&gt;× Encountered error while generating package metadata.&lt;BR /&gt;╰─&amp;gt; See above for output.&lt;/P&gt;&lt;P&gt;note: This is an issue with the package mentioned above, not pip.&lt;BR /&gt;hint: See above for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 01:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294345#M8740</guid>
      <dc:creator>GilMastrapa</dc:creator>
      <dc:date>2023-05-31T01:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294589#M8742</link>
      <description>&lt;P&gt;Update.&lt;/P&gt;&lt;P&gt;Downgrading arcgis to 1.9.1 solved the issues (using python 3.8), but at the cost of having to use a dated version of the API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Several inconsistencies with the 2.* version dependencies.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find any other solution?&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/679079"&gt;@degarzonm&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/585795"&gt;@GISAdministrator_LMCC&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/517829"&gt;@LinasSpraunius&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 17:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294589#M8742</guid>
      <dc:creator>GilMastrapa</dc:creator>
      <dc:date>2023-05-31T17:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294952#M8746</link>
      <description>&lt;P&gt;I am also running into the same problem. I tried multiple versions of arcgis, as well as different versions of python - but had no luck until I used python==3.8.10, and arcgis==1.8.5.post3. Not a solution, but an intermediate fix until the arcgis folks fix the issue.&lt;BR /&gt;&lt;BR /&gt;For any windows users, here is a .bat script you can run to set up a python venv with arcgis==1.8.5.post3 (assuming you have python==3.8.x installed and are on a windows machine):&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/464769"&gt;@echo&lt;/a&gt; off
setlocal

REM Set the paths
set PYTHON_DIR=C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python38
set VENV_NAME=py38

REM Create a new virtual environment
%PYTHON_DIR%\python.exe -m venv %VENV_NAME%

REM Activate the virtual environment
call %VENV_NAME%\Scripts\activate.bat

REM Install the packages
pip install --upgrade pip setuptools wheel
pip install "keyring&amp;gt;=19,&amp;lt;=21.8.*"
pip install --use-pep517 arcgis==1.8.5.post3

endlocal&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 13:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294952#M8746</guid>
      <dc:creator>btripp</dc:creator>
      <dc:date>2023-06-01T13:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: bug pip pipenv install arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294961#M8747</link>
      <description>&lt;P&gt;Yes, locally is allowing to install up to 1.9.1, but for cloud functions to work it has to be 1.8.* . Here is a topic with more info on one of the broken dependencies (urllib)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/error-init-got-an-unexpected-keyword-argument/td-p/1286413" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-python-questions/error-init-got-an-unexpected-keyword-argument/td-p/1286413&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 14:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/bug-pip-pipenv-install-arcgis/m-p/1294961#M8747</guid>
      <dc:creator>GilMastrapa</dc:creator>
      <dc:date>2023-06-01T14:16:36Z</dc:date>
    </item>
  </channel>
</rss>

