RJT1990 / pyflux

Open source time series library for Python
BSD 3-Clause "New" or "Revised" License
2.1k stars 240 forks source link

Build error in Ubuntu #138

Open noisyoscillator opened 5 years ago

noisyoscillator commented 5 years ago

This is what getting while trying to install.

At top level:
    /home/pinaki/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
     _import_array(void)
     ^~~~~~~~~~~~~
    error: Command "gcc -pthread -B /home/pinaki/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/pinaki/anaconda3/lib/python3.7/site-packages/numpy/core/include -I/home/pinaki/anaconda3/include/python3.7m -c pyflux/arma/arma_recursions.c -o build/temp.linux-x86_64-3.7/pyflux/arma/arma_recursions.o -MMD -MF build/temp.linux-x86_64-3.7/pyflux/arma/arma_recursions.o.d" failed with exit status 1

    ----------------------------------------
Command "/home/pinaki/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-95nyt0d7/pyflux/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-741e5a15/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-95nyt0d7/pyflux/

`

Tried upgrading and reinstalling numpy without any results. Please advice. Thanks!

ZhouRR commented 5 years ago

upgrading and reinstalling numpy