<?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 I add requests to arcpy 2.78 (ArcGIS 10.3.1)? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142315#M11071</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find pip and can't download any zip files.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 20:54:52 GMT</pubDate>
    <dc:creator>TedPrescott</dc:creator>
    <dc:date>2018-01-18T20:54:52Z</dc:date>
    <item>
      <title>How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142315#M11071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't find pip and can't download any zip files.&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:54:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142315#M11071</guid>
      <dc:creator>TedPrescott</dc:creator>
      <dc:date>2018-01-18T20:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142316#M11072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python 3.6 and ArcGIS PRO&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; requests

dir&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;requests&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'ConnectTimeout'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ConnectionError'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'DependencyWarning'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'FileModeWarning'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'HTTPError'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
 &lt;SPAN class="string token"&gt;'NullHandler'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'PreparedRequest'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'ReadTimeout'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Request'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'RequestException'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; snip &lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'urllib3'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'utils'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'warnings'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try&lt;STRONG&gt; import requests&lt;/STRONG&gt; in python 2.7.x?&lt;/P&gt;&lt;P&gt;or google for a pypi package eg&amp;nbsp;&lt;A href="https://pypi.python.org/pypi/requests" rel="nofollow noopener noreferrer" target="_blank"&gt;https://pypi.python.org/pypi/requests&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142316#M11072</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T07:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142317#M11073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My first attempt was just that. But the response was No module named requests.&lt;/P&gt;&lt;P&gt;So, I tried the pypi, but had issues with blocked internet sites.&lt;/P&gt;&lt;P&gt;I was able to download a version, but it says I need pip to install.&lt;/P&gt;&lt;P&gt;pip doesn't come with arcpy 2.78&lt;/P&gt;&lt;P&gt;So, I tried (unsuccessfully) to load pip and/or get-pip.py.&lt;/P&gt;&lt;P&gt;I DID get a copy of setuptools to load, but it doesn't work on the requests install.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarifies my problem,&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 21:33:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142317#M11073</guid>
      <dc:creator>TedPrescott</dc:creator>
      <dc:date>2018-01-18T21:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142318#M11074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, All I have i python 3.6 for Pro and the version of python that comes with ArcMap 10.6 (2.7.???) both come with pip, easy_install and the requests package.&lt;/P&gt;&lt;P&gt;If you are absolutely stuck with ArcMap 10.3, I can't help...&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 22:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142318#M11074</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-18T22:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142319#M11075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python 2.7.8, so close yet so far.... Python 2.7.9+ and 3.4+ come bundled with pip, but that doesn't help you.&amp;nbsp; There are lots of suggestions on installing pip on SO:&amp;nbsp; &lt;A class="link-titled" href="https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows" title="https://stackoverflow.com/questions/4750806/how-do-i-install-pip-on-windows"&gt;python - How do I install pip on Windows? - Stack Overflow&lt;/A&gt; .&amp;nbsp; I would look midway down where folks updated comments in 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is a one-off matter, i.e., you are only installing requests and nothing more, you could download the source code from GitHub and manually install it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142319#M11075</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-01-19T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142320#M11076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I manually install it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:55:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142320#M11076</guid>
      <dc:creator>TedPrescott</dc:creator>
      <dc:date>2018-01-19T14:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142321#M11077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your question isn't really specific to Esri products, it is a general Python question.&amp;nbsp; There are other forums/sites that address these types of questions better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Installing a package manually can be really simple and straightforward or a real headache, it depends on the complexity of the package itself and its requirements.&amp;nbsp; I have not personally tried to install requests manually; but looking on GitHub now, I see they provide a setup.py file.&amp;nbsp; The gist of the workflow involves downloading the source code and extracting it, changing directories to the extracted code, and running &lt;SPAN style="font-family: courier new, courier, monospace;"&gt;python setup.py install&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 15:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142321#M11077</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2018-01-19T15:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add requests to arcpy 2.78 (ArcGIS 10.3.1)?</title>
      <link>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142322#M11078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it is the “headache” type.&lt;/P&gt;&lt;P&gt;During the manual install, I get the following error&lt;/P&gt;&lt;P&gt;IOError:  No such file or directory: 'README.rst'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I think I am going to install 10.5.1 on a spare PC &amp;amp; do the python coding on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&lt;/P&gt;&lt;P&gt;Ted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 16:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/how-do-i-add-requests-to-arcpy-2-78-arcgis-10-3-1/m-p/142322#M11078</guid>
      <dc:creator>TedPrescott</dc:creator>
      <dc:date>2018-01-19T16:27:47Z</dc:date>
    </item>
  </channel>
</rss>

