<p dir="auto">With Python 2.7 (from homebrew) on OSX 10.7.5, "sudo pip install pandas" gives:</p>
<p dir="auto">Downloading/unpacking pandas<br>
Running setup.py egg_info for package pandas</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="warning: no files found matching 'TODO.rst'
warning: no files found matching 'setupegg.py'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution"><pre class="notranslate"><code class="notranslate">warning: no files found matching 'TODO.rst'
warning: no files found matching 'setupegg.py'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution
</code></pre></div>
<p dir="auto">Requirement already satisfied (use --upgrade to upgrade): python-dateutil in /Library/Python/2.7/site-packages (from pandas)<br>
Requirement already satisfied (use --upgrade to upgrade): pytz in /Library/Python/2.7/site-packages (from pandas)<br>
Requirement already satisfied (use --upgrade to upgrade): numpy&gt;=1.6.1 in /Library/Python/2.7/site-packages (from pandas)<br>
Requirement already satisfied (use --upgrade to upgrade): six in /Library/Python/2.7/site-packages (from python-dateutil-&gt;pandas)<br>
Installing collected packages: pandas<br>
Running setup.py install for pandas<br>
skipping 'pandas/index.c' Cython extension (up-to-date)<br>
building 'pandas.index' extension<br>
llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Ipandas/src/klib -Ipandas/src -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pandas/index.c -o build/temp.macosx-10.7-intel-2.7/pandas/index.o<br>
In file included from pandas/index.c:260:<br>
pandas/src/numpy_helper.h: In function ‘infer_type’:<br>
pandas/src/numpy_helper.h:32: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h:32: error: (Each undeclared identifier is reported only once<br>
pandas/src/numpy_helper.h:32: error: for each function it appears in.)<br>
pandas/src/numpy_helper.h: In function ‘get_datetime64_value’:<br>
pandas/src/numpy_helper.h:53: error: ‘PyDatetimeScalarObject’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h:53: error: expected expression before ‘)’ token<br>
pandas/src/numpy_helper.h: In function ‘is_datetime64_object’:<br>
pandas/src/numpy_helper.h:84: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h: In function ‘is_timedelta64_object’:<br>
pandas/src/numpy_helper.h:89: error: ‘PyTimedeltaArrType_Type’ undeclared (first use in this function)<br>
In file included from pandas/src/klib/khash_python.h:3,<br>
from pandas/index.c:261:<br>
pandas/src/klib/khash.h: In function ‘kh_del_str’:<br>
pandas/src/klib/khash.h:573: warning: statement with no effect<br>
pandas/src/klib/khash.h: In function ‘kh_del_int32’:<br>
pandas/src/klib/khash.h:574: warning: statement with no effect<br>
pandas/src/klib/khash.h: In function ‘kh_del_int64’:<br>
pandas/src/klib/khash.h:575: warning: statement with no effect<br>
In file included from pandas/index.c:261:<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:<br>
pandas/src/klib/khash_python.h:13: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:<br>
pandas/src/klib/khash_python.h:38: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:<br>
pandas/src/klib/khash_python.h:44: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:<br>
pandas/src/klib/khash_python.h:49: warning: statement with no effect<br>
In file included from pandas/index.c:267:<br>
pandas/src/datetime/np_datetime.h: At top level:<br>
pandas/src/datetime/np_datetime.h:107: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
In file included from pandas/index.c:268:<br>
pandas/src/datetime/np_datetime_strings.h:46: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
pandas/src/datetime/np_datetime_strings.h:84: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
pandas/index.c:490: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘<strong>attribute</strong>’ before ‘<strong>pyx_t_5numpy_float16_t’<br>
pandas/index.c: In function ‘__pyx_pf_6pandas_5index_get_value_at’:<br>
pandas/index.c:1928: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine_get_value’:<br>
pandas/index.c:2424: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_convert_scalar’:<br>
pandas/index.c:8594: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_8datetime__cstring_to_dts’:<br>
pandas/index.c:9395: error: ‘NPY_UNSAFE_CASTING’ undeclared (first use in this function)<br>
pandas/index.c:9395: warning: passing argument 5 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: warning: passing argument 6 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: warning: passing argument 7 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: error: too many arguments to function ‘parse_iso_8601_datetime’<br>
pandas/index.c: In function ‘__pyx_f_8datetime__dts_to_pydatetime’:<br>
pandas/index.c:9499: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
In file included from pandas/index.c:260:<br>
pandas/src/numpy_helper.h: In function ‘infer_type’:<br>
pandas/src/numpy_helper.h:32: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h:32: error: (Each undeclared identifier is reported only once<br>
pandas/src/numpy_helper.h:32: error: for each function it appears in.)<br>
pandas/src/numpy_helper.h: In function ‘get_datetime64_value’:<br>
pandas/src/numpy_helper.h:53: error: ‘PyDatetimeScalarObject’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h:53: error: expected expression before ‘)’ token<br>
pandas/src/numpy_helper.h: In function ‘is_datetime64_object’:<br>
pandas/src/numpy_helper.h:84: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)<br>
pandas/src/numpy_helper.h: In function ‘is_timedelta64_object’:<br>
pandas/src/numpy_helper.h:89: error: ‘PyTimedeltaArrType_Type’ undeclared (first use in this function)<br>
In file included from pandas/src/klib/khash_python.h:3,<br>
from pandas/index.c:261:<br>
pandas/src/klib/khash.h: In function ‘kh_resize_str’:<br>
pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_put_str’:<br>
pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_del_str’:<br>
pandas/src/klib/khash.h:573: warning: statement with no effect<br>
pandas/src/klib/khash.h: In function ‘kh_resize_int32’:<br>
pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_put_int32’:<br>
pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_del_int32’:<br>
pandas/src/klib/khash.h:574: warning: statement with no effect<br>
pandas/src/klib/khash.h: In function ‘kh_resize_int64’:<br>
pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_put_int64’:<br>
pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash.h: In function ‘kh_del_int64’:<br>
pandas/src/klib/khash.h:575: warning: statement with no effect<br>
In file included from pandas/index.c:261:<br>
pandas/src/klib/khash_python.h: In function ‘kh_get_float64’:<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_resize_float64’:<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_put_float64’:<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:<br>
pandas/src/klib/khash_python.h:13: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_get_pymap’:<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_resize_pymap’:<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_put_pymap’:<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:<br>
pandas/src/klib/khash_python.h:38: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_get_pyset’:<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_resize_pyset’:<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_put_pyset’:<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:<br>
pandas/src/klib/khash_python.h:44: warning: statement with no effect<br>
pandas/src/klib/khash_python.h: In function ‘kh_resize_strbox’:<br>
pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_put_strbox’:<br>
pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:<br>
pandas/src/klib/khash_python.h:49: warning: statement with no effect<br>
In file included from pandas/index.c:267:<br>
pandas/src/datetime/np_datetime.h: At top level:<br>
pandas/src/datetime/np_datetime.h:107: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
In file included from pandas/index.c:268:<br>
pandas/src/datetime/np_datetime_strings.h:46: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
pandas/src/datetime/np_datetime_strings.h:84: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’<br>
pandas/index.c:490: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute</strong>’ before ‘<strong>pyx_t_5numpy_float16_t’<br>
pandas/index.c: In function ‘__pyx_pf_6pandas_5index_get_value_at’:<br>
pandas/index.c:1928: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine_get_value’:<br>
pandas/index.c:2424: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine__maybe_get_bool_indexer’:<br>
pandas/index.c:3733: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_11Int64Engine__maybe_get_bool_indexer’:<br>
pandas/index.c:5724: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/index.c: In function ‘__pyx_f_6pandas_5index_convert_scalar’:<br>
pandas/index.c:8594: error: ‘NPY_DATETIME’ undeclared (first use in this function)<br>
pandas/index.c: In function ‘__pyx_f_8datetime__string_to_dts’:<br>
pandas/index.c:9312: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
pandas/index.c: In function ‘__pyx_f_8datetime__cstring_to_dts’:<br>
pandas/index.c:9395: error: ‘NPY_UNSAFE_CASTING’ undeclared (first use in this function)<br>
pandas/index.c:9395: warning: passing argument 5 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: warning: passing argument 6 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: warning: passing argument 7 of ‘parse_iso_8601_datetime’ from incompatible pointer type<br>
pandas/index.c:9395: error: too many arguments to function ‘parse_iso_8601_datetime’<br>
pandas/index.c: In function ‘__pyx_f_8datetime__dts_to_pydatetime’:<br>
pandas/index.c:9499: warning: implicit conversion shortens 64-bit value into a 32-bit value<br>
lipo: can't open input file: /var/tmp//ccIxVO4R.out (No such file or directory)<br>
error: command 'llvm-gcc-4.2' failed with exit status 1<br>
Complete output from command /usr/bin/python -c "import setuptools;__file</strong>='/private/tmp/pip-build-root/pandas/setup.py';exec(compile(open(<strong>file</strong>).read().replace('\r\n', '\n'), <strong>file</strong>, 'exec'))" install --record /tmp/pip-NIyRvg-record/install-record.txt --single-version-externally-managed:<br>
running install</p>
<p dir="auto">running build</p>
<p dir="auto">running build_py</p>
<p dir="auto">copying pandas/version.py -&gt; build/lib.macosx-10.7-intel-2.7/pandas</p>
<p dir="auto">running build_ext</p>
<p dir="auto">skipping 'pandas/index.c' Cython extension (up-to-date)</p>
<p dir="auto">building 'pandas.index' extension</p>
<p dir="auto">llvm-gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -Ipandas/src/klib -Ipandas/src -I/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c pandas/index.c -o build/temp.macosx-10.7-intel-2.7/pandas/index.o</p>
<p dir="auto">In file included from pandas/index.c:260:</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘infer_type’:</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: (Each undeclared identifier is reported only once</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: for each function it appears in.)</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘get_datetime64_value’:</p>
<p dir="auto">pandas/src/numpy_helper.h:53: error: ‘PyDatetimeScalarObject’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h:53: error: expected expression before ‘)’ token</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘is_datetime64_object’:</p>
<p dir="auto">pandas/src/numpy_helper.h:84: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘is_timedelta64_object’:</p>
<p dir="auto">pandas/src/numpy_helper.h:89: error: ‘PyTimedeltaArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">In file included from pandas/src/klib/khash_python.h:3,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="             from pandas/index.c:261:"><pre class="notranslate"><code class="notranslate">             from pandas/index.c:261:
</code></pre></div>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_str’:</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_int32’:</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_int64’:</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: statement with no effect</p>
<p dir="auto">In file included from pandas/index.c:261:</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: statement with no effect</p>
<p dir="auto">In file included from pandas/index.c:267:</p>
<p dir="auto">pandas/src/datetime/np_datetime.h: At top level:</p>
<p dir="auto">pandas/src/datetime/np_datetime.h:107: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">In file included from pandas/index.c:268:</p>
<p dir="auto">pandas/src/datetime/np_datetime_strings.h:46: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">pandas/src/datetime/np_datetime_strings.h:84: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">pandas/index.c:490: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘<strong>attribute</strong>’ before ‘__pyx_t_5numpy_float16_t’</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_pf_6pandas_5index_get_value_at’:</p>
<p dir="auto">pandas/index.c:1928: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine_get_value’:</p>
<p dir="auto">pandas/index.c:2424: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_convert_scalar’:</p>
<p dir="auto">pandas/index.c:8594: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_8datetime__cstring_to_dts’:</p>
<p dir="auto">pandas/index.c:9395: error: ‘NPY_UNSAFE_CASTING’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 5 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 6 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 7 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: error: too many arguments to function ‘parse_iso_8601_datetime’</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_8datetime__dts_to_pydatetime’:</p>
<p dir="auto">pandas/index.c:9499: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">In file included from pandas/index.c:260:</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘infer_type’:</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: (Each undeclared identifier is reported only once</p>
<p dir="auto">pandas/src/numpy_helper.h:32: error: for each function it appears in.)</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘get_datetime64_value’:</p>
<p dir="auto">pandas/src/numpy_helper.h:53: error: ‘PyDatetimeScalarObject’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h:53: error: expected expression before ‘)’ token</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘is_datetime64_object’:</p>
<p dir="auto">pandas/src/numpy_helper.h:84: error: ‘PyDatetimeArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">pandas/src/numpy_helper.h: In function ‘is_timedelta64_object’:</p>
<p dir="auto">pandas/src/numpy_helper.h:89: error: ‘PyTimedeltaArrType_Type’ undeclared (first use in this function)</p>
<p dir="auto">In file included from pandas/src/klib/khash_python.h:3,</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="             from pandas/index.c:261:"><pre class="notranslate"><code class="notranslate">             from pandas/index.c:261:
</code></pre></div>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_resize_str’:</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_put_str’:</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_str’:</p>
<p dir="auto">pandas/src/klib/khash.h:573: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_resize_int32’:</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_put_int32’:</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_int32’:</p>
<p dir="auto">pandas/src/klib/khash.h:574: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_resize_int64’:</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_put_int64’:</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash.h: In function ‘kh_del_int64’:</p>
<p dir="auto">pandas/src/klib/khash.h:575: warning: statement with no effect</p>
<p dir="auto">In file included from pandas/index.c:261:</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_get_float64’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_resize_float64’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_put_float64’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_float64’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:13: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_get_pymap’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_resize_pymap’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_put_pymap’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_pymap’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:38: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_get_pyset’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_resize_pyset’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_put_pyset’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_pyset’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:44: warning: statement with no effect</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_resize_strbox’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_put_strbox’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/src/klib/khash_python.h: In function ‘kh_del_strbox’:</p>
<p dir="auto">pandas/src/klib/khash_python.h:49: warning: statement with no effect</p>
<p dir="auto">In file included from pandas/index.c:267:</p>
<p dir="auto">pandas/src/datetime/np_datetime.h: At top level:</p>
<p dir="auto">pandas/src/datetime/np_datetime.h:107: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">In file included from pandas/index.c:268:</p>
<p dir="auto">pandas/src/datetime/np_datetime_strings.h:46: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">pandas/src/datetime/np_datetime_strings.h:84: error: expected declaration specifiers or ‘...’ before ‘NPY_CASTING’</p>
<p dir="auto">pandas/index.c:490: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘<strong>attribute</strong>’ before ‘__pyx_t_5numpy_float16_t’</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_pf_6pandas_5index_get_value_at’:</p>
<p dir="auto">pandas/index.c:1928: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine_get_value’:</p>
<p dir="auto">pandas/index.c:2424: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_11IndexEngine__maybe_get_bool_indexer’:</p>
<p dir="auto">pandas/index.c:3733: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_11Int64Engine__maybe_get_bool_indexer’:</p>
<p dir="auto">pandas/index.c:5724: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_6pandas_5index_convert_scalar’:</p>
<p dir="auto">pandas/index.c:8594: error: ‘NPY_DATETIME’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_8datetime__string_to_dts’:</p>
<p dir="auto">pandas/index.c:9312: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_8datetime__cstring_to_dts’:</p>
<p dir="auto">pandas/index.c:9395: error: ‘NPY_UNSAFE_CASTING’ undeclared (first use in this function)</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 5 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 6 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: warning: passing argument 7 of ‘parse_iso_8601_datetime’ from incompatible pointer type</p>
<p dir="auto">pandas/index.c:9395: error: too many arguments to function ‘parse_iso_8601_datetime’</p>
<p dir="auto">pandas/index.c: In function ‘__pyx_f_8datetime__dts_to_pydatetime’:</p>
<p dir="auto">pandas/index.c:9499: warning: implicit conversion shortens 64-bit value into a 32-bit value</p>
<p dir="auto">lipo: can't open input file: /var/tmp//ccIxVO4R.out (No such file or directory)</p>
<p dir="auto">error: command 'llvm-gcc-4.2' failed with exit status 1</p>
<hr>
<p dir="auto">I tried to update everything under the sun: numpy (1.7.1), pip (1.3.1), XCode command line tools (4.6.2)..</p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# A value is trying to be set on a copy of a slice from a DataFrame.
"><pre class="notranslate"><span class="pl-c"># A value is trying to be set on a copy of a slice from a DataFrame.</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">It is better to add some hints beside this error, or this information will coufuse many people. Suggestion: you can add a sentence like "Maybe you should reset the index of the slice". It can be more clear to make modification.</p>
<p dir="auto">[this should explain <strong>why</strong> the current behaviour is a problem and why the expected output is a better solution.]</p>
<p dir="auto"><strong>Note</strong>: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!</p>
<p dir="auto"><strong>Note</strong>: Many problems can be resolved by simply upgrading <code class="notranslate">pandas</code> to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if <code class="notranslate">master</code> addresses this issue, but that is not necessary.</p>
<p dir="auto">For documentation-related issues, you can check the latest versions of the docs on <code class="notranslate">master</code> here:</p>
<p dir="auto"><a href="https://pandas-docs.github.io/pandas-docs-travis/" rel="nofollow">https://pandas-docs.github.io/pandas-docs-travis/</a></p>
<p dir="auto">If the issue has not been resolved there, go ahead and file it in the issue tracker.</p>
<h4 dir="auto">Expected Output</h4>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<p dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]</p>
</details>