Re: [Numpy-discussion] error: no matching function for call to 'PyArray_DATA'

2014-12-11 Thread Jack Howarth
t), field->data, field->size); } else { result = PyArray_SimpleNewFromData(field->n_dim, dims, typenum, field->data); } On Thu, Dec 11, 2014 at 11:21 AM, Jack Howarth wrote: >I am trying to patch pymol to avoid the warnings... > > /sw/lib/python2.7/site-pac

[Numpy-discussion] error: no matching function for call to 'PyArray_DATA'

2014-12-11 Thread Jack Howarth
I am trying to patch pymol to avoid the warnings... /sw/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy