Skip to content

Build Errors with numpy 1.8.0.dev #16

@rm-rv

Description

@rm-rv

When I attempt to run python setup.py build with the current version of ta-lib I get the following error

running build
running build_ext
skipping 'talib.c' Cython extension (up-to-date)
building 'talib' extension
i686-pc-linux-gnu-gcc -pthread -fPIC -I/usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include -I/usr/local/include/ -I/usr/include/python2.7 -c talib.c -o build/temp.linux-i686-2.7/talib.o
In file included from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/ndarraytypes.h:1729:0,
                 from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/arrayobject.h:15,
                 from talib.c:253:
/usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
/usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/npy_deprecated_api.h:23:2: error: #error Should never include npy_deprecated_api directly.
In file included from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/npy_deprecated_api.h:126:0,
                 from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/ndarraytypes.h:1729,
                 from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/ndarrayobject.h:17,
                 from /usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/arrayobject.h:15,
                 from talib.c:253:
/usr/lib/python2.7/site-packages/numpy-1.8.0.dev_c56826b-py2.7-linux-i686.egg/numpy/core/include/numpy/old_defines.h:6:2: error: #error The header "old_defines.h" is deprecated as of NumPy 1.7.
talib.c:256:28: fatal error: ta-lib/ta_libc.h: No such file or directory
compilation terminated.
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions