I have Scipy version 0.18.2 on my RaspberryPi 3. However, I need the find_peaks() function which is only available on higher versions.
I followed this link to install scipy.
But the python3 setup.py build
pauses here:
/usr/local/lib/python3.5/dist-packages/numpy-1.15.4-py3.5-linux-
armv7l.egg/numpy/core/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 " \
^~~~~~~
I'm working on latest version of numpy(1.15.4).
Any other inputs on how to implement scipy's find_peaks() would also be helpful.
Thanks in advance!
sudo pip3 install scipy
. This will install using a binary wheel from piwheels. Don't use sudo if you're in a virtual environment – Dirk Jan 02 '19 at 16:17python3-pip
and then use https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py . Make sure to usesudo python3 get-pip.py
to install pip. – Dirk Jan 03 '19 at 08:23