#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
See original GitHub issueI got this error message when trying to install Scipy via command line on Centos 7
sudo easy_install scipy
Error message
In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0,
from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
from scipy/sparse/sparsetools/sparsetools.h:5,
from scipy/sparse/sparsetools/csr.cxx:4:
/usr/lib64/python2.7/site-packages/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" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION"
^
Please advice. Thank you.
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Using deprecated Numpy API - python - Stack Overflow
include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API ...
Read more >C API Deprecations — NumPy v1.14 Manual
One way to do deprecations is to flag them in the documentation and release notes, then remove or change the deprecated features in...
Read more >core/include/numpy/npy_1_7_deprecated_api.h - Gemfury
... disable it by " \ "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION") #elif defined(__GNUC__) #warning "Using deprecated NumPy API, disable it by ...
Read more >Failed to install Tensorflow for Python 3.6 + JetPack4.2
It failed in the middle, and got the error: ... #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API ...
Read more >Suppressing warnings - Google Groups
/usr/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API".
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@quantum6 where would that need to be placed?
Unfortunately it floods [i]python screen output.