<?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: Installing Pandas in ArcPy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465492#M36426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternate site, but here are the requirements from this page&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;A href="http://pandas.pydata.org/"&gt;Pandas&lt;/A&gt;&lt;/STRONG&gt;, a cross-section and time series data analysis toolkit.&lt;BR /&gt;Requires &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy"&gt;numpy&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-dateutil"&gt;dateutil&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#pytz"&gt;pytz&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools"&gt;setuptools&lt;/A&gt;, and optionally &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#numexpr"&gt;numexpr&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#bottleneck"&gt;bottleneck&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy"&gt;scipy&lt;/A&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib"&gt;matplotlib&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#pytables"&gt;pytables&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml"&gt;lxml&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#statsmodels"&gt;statsmodels&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#sqlalchemy"&gt;sqlalchemy&lt;/A&gt; and other &lt;A href="http://pandas.pydata.org/pandas-docs/stable/install.html#dependencies"&gt;dependencies&lt;/A&gt;. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" title="http://www.lfd.uci.edu/~gohlke/pythonlibs/"&gt;http://www.lfd.uci.edu/~gohlke/pythonlibs/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use it, but I have installed other modules from this site with no problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2015 09:42:55 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-03-02T09:42:55Z</dc:date>
    <item>
      <title>Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465491#M36425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arcpy Users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want to inquire how can I properly install Pandas python package in ArcPy. I am having a hard time installing it. I just wanted to get the pandas to work so I can work easier with my CSV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this has something to do with my pip installation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Leo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this command:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; pip install pandas&lt;/P&gt;&lt;P&gt;and it returns this message:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.&amp;nbsp; All rights reserved.


C:\Users\lpalao&amp;gt;pip install pandas
Traceback (most recent call last):
&amp;nbsp; File "C:\Python27\ArcGIS10.2\Scripts\pip-script.py", line 9, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; load_entry_point('pip==6.0.8', 'console_scripts', 'pip')()
&amp;nbsp; File "build\bdist.win32\egg\pkg_resources.py", line 339, in load_entry_point
&amp;nbsp; File "build\bdist.win32\egg\pkg_resources.py", line 2470, in load_entry_point
&amp;nbsp; File "build\bdist.win32\egg\pkg_resources.py", line 2184, in load
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\__init__.py", line 13, in &amp;lt;
module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from pip.utils import get_installed_distributions, get_prog
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\utils\__init__.py", line 22
, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from pip._vendor import pkg_resources, six
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\_vendor\__init__.py", line
61, in load_module
&amp;nbsp;&amp;nbsp;&amp;nbsp; __import__(name)
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\_vendor\pkg_resources\__ini
t__.py", line 79, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import pip._vendor.packaging.specifiers
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\_vendor\packaging\specifier
s.py", line 274, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; class Specifier(_IndividualSpecifier):
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pip-6.0.8-py2.7.egg\pip\_vendor\packaging\specifier
s.py", line 373, in Specifier
&amp;nbsp;&amp;nbsp;&amp;nbsp; re.VERBOSE | re.IGNORECASE,
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\re.py", line 190, in compile
&amp;nbsp;&amp;nbsp;&amp;nbsp; return _compile(pattern, flags)
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\re.py", line 242, in _compile
&amp;nbsp;&amp;nbsp;&amp;nbsp; raise error, v # invalid expression
sre_constants.error: nothing to repeat&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then when I import pandas (&amp;gt;&amp;gt;&amp;gt; import pandas) it returns the message below:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; import numpy
&amp;gt;&amp;gt;&amp;gt; import pandas
numpy.ufunc has the wrong size, try recompiling
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;
&amp;nbsp; File "C:\Python27\ArcGIS10.2\lib\site-packages\pandas-0.15.2-py2.7-win32.egg\pandas\__init__.py", line 7, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from . import hashtable, tslib, lib
&amp;nbsp; File "pandas\src\numpy.pxd", line 865, in init pandas.hashtable (pandas\hashtable.c:22988)
ValueError: numpy.ufunc has the wrong size, try recompiling&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465491#M36425</guid>
      <dc:creator>Leo_KrisPalao</dc:creator>
      <dc:date>2021-12-11T20:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465492#M36426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternate site, but here are the requirements from this page&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;A href="http://pandas.pydata.org/"&gt;Pandas&lt;/A&gt;&lt;/STRONG&gt;, a cross-section and time series data analysis toolkit.&lt;BR /&gt;Requires &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy"&gt;numpy&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-dateutil"&gt;dateutil&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#pytz"&gt;pytz&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools"&gt;setuptools&lt;/A&gt;, and optionally &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#numexpr"&gt;numexpr&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#bottleneck"&gt;bottleneck&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy"&gt;scipy&lt;/A&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib"&gt;matplotlib&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#pytables"&gt;pytables&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml"&gt;lxml&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#statsmodels"&gt;statsmodels&lt;/A&gt;, &lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#sqlalchemy"&gt;sqlalchemy&lt;/A&gt; and other &lt;A href="http://pandas.pydata.org/pandas-docs/stable/install.html#dependencies"&gt;dependencies&lt;/A&gt;. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.lfd.uci.edu/~gohlke/pythonlibs/" title="http://www.lfd.uci.edu/~gohlke/pythonlibs/"&gt;http://www.lfd.uci.edu/~gohlke/pythonlibs/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't use it, but I have installed other modules from this site with no problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 09:42:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465492#M36426</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-03-02T09:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465493#M36427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you want to start branching out into installing additional Python packages, I encourage you to read &lt;A href="https://packaging.python.org/en/latest/installing.html"&gt;Installing Packages &lt;/A&gt;from the &lt;A href="https://packaging.python.org/en/latest/index.html"&gt;Python Packing User Guide&lt;/A&gt;.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 17:05:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465493#M36427</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2015-03-02T17:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465494#M36428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that to successfully install pandas for use with ArcGIS 10.3 I had to install a newer version of numpy (upgrade from 1.7 to 1.9). In doing that, I had to make sure to use pip in a command window with administrative permissions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 00:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465494#M36428</guid>
      <dc:creator>NathanielRoth</dc:creator>
      <dc:date>2015-03-05T00:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465495#M36429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are ok with using an older version of pandas, the installation process I used was relatively simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I installed pandas by running an executable installation file (built with distutils) downloaded from pypi.python.org via download links on the &lt;A href="http://pandas.pydata.org/getpandas.html"&gt;pandas homepage&lt;/A&gt;​.&amp;nbsp; The key for me was choosing an older version of pandas that was built using the same version of NumPy that I was already running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find out what version of numpy you are running, import NumPy and then type:&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="_jivemacro_uid_14256597113967679 jive_macro_code jive_text_macro" data-renderedposition="0_0_0_0" jivemacro_uid="_14256597113967679"&gt;&lt;P&gt;numpy.version.full_version&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although pandas 15.2 is the latest release, it (the executable installation file) requires NumPy 1.8.1.&amp;nbsp; I'm running ArcMap 10.2 which comes with NumPy 1.7.1.&amp;nbsp; I browsed through the older releases of pandas (listed on the right hand &lt;A href="http://pandas.pydata.org/getpandas.html" title="http://pandas.pydata.org/getpandas.html"&gt;pandas homepage&lt;/A&gt;) until I found a release that was based on NumPy 1.7.1, which happened to be &lt;A href="https://pypi.python.org/packages/2.7/p/pandas/pandas-0.12.0.win32-py2.7.exe#md5=80b0b9b891842ef4bdf451ac07b368e5"&gt;pandas 12.0&lt;/A&gt;​.&amp;nbsp; It was only later that I realized that the pandas 13.0 and 13.1 were also based on NumPy 1.7.1, but I didn't bother to change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although python-dateutil and pytz are listed as pandas 15.2 dependencies, I think they aren't for pandas 12.0 since I didn't bother installing them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kerry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:46:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465495#M36429</guid>
      <dc:creator>KerryAlley</dc:creator>
      <dc:date>2015-03-06T16:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Installing Pandas in ArcPy</title>
      <link>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465496#M36430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having played with it fairly intensively for a few days now, I've had no issues with upgrading the numpy version installed as part of my arcgis python install to 1.9. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 18:08:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/installing-pandas-in-arcpy/m-p/465496#M36430</guid>
      <dc:creator>NathanielRoth</dc:creator>
      <dc:date>2015-03-06T18:08:25Z</dc:date>
    </item>
  </channel>
</rss>

