numpy and cython

Chris Angelico rosuav at gmail.com
Sat May 9 11:04:03 EDT 2015


On Sun, May 10, 2015 at 12:51 AM, pauld11718 <pauld11718 at gmail.com> wrote:
> Unable to compile :
> /usr/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 " \
>   ^
> gcc -pthread -shared build/temp.linux-x86_64-3.4/visco.o -L/home/abcd/miniconda3/envs/venv1/lib -lpython3.4m -o /media/abcd/Man_UTD/pythoncode/venv1/visco.cpython-34m.so

Looks like a warning to me. Are you sure the compilation isn't
working? Check to see if you have an output file. If you don't,
there's something else wrong, not just this.

ChrisA



More information about the Python-list mailing list