Hello!
I'm just getting started with airflow, and I'm trying to spin it up on a
fresh Ubuntu 14.04 VM. I install python and pip, set AIRFLOW_HOME, and then
run "pip install airflow" as stated here:
https://pythonhosted.org/airflow/start.html
When I do that, I get a long stream of messages that starts with
" Running setup.py install for pandas
package init file 'pandas/io/tests/sas/__init__.py' not found (or not a
regular file)
package init file 'pandas/io/tests/sas/__init__.py' not found (or not a
regular file)
UPDATING build/lib.linux-x86_64-2.7/pandas/_version.py
set build/lib.linux-x86_64-2.7/pandas/_version.py to '0.19.2'
building 'pandas.index' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -fPIC -Ipandas/src/klib -Ipandas/src
-I/usr/lib/python2.7/dist-packages/numpy/core/include
-I/usr/include/python2.7 -c pandas/index.c -o
build/temp.linux-x86_64-2.7/pandas/index.o -Wno-unused-function
In file included from
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1761:0,
from
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from pandas/index.c:274:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: #warning "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
pandas/index.c: In function
'__pyx_f_6pandas_5index_11IndexEngine_get_loc':
pandas/index.c:9488:13: warning: '__pyx_v_mid' may be used
uninitialized in this function [-Wmaybe-uninitialized]
__pyx_t_5 = PyInt_FromSsize_t(__pyx_v_mid); if
(unlikely(!__pyx_t_5)) __PYX_ERR(0, 496, __pyx_L1_error)
^
pandas/index.c:9263:14: note: '__pyx_v_mid' was declared here
Py_ssize_t __pyx_v_mid;
"
and gives a final error of "InstallationError: Command /usr/bin/python -c
"import setuptools,
tokenize;__file__='/tmp/pip_build_vagrant/pandas/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-Uw_sOI-record/install-record.txt
--single-version-externally-managed --compile failed with error code 1 in
/tmp/pip_build_vagrant/pandas"
Various online recs suggest installing python-dev and python-numpy as apt
packages, but my apt says those are up to date.
Thanks in advance for the help
Derrick