I'm trying to install the scikit-image module on my RPi Model B. It was able to install the matplotlib and numpy modules just fine but I cant get the Scipy mosule to be installed.
My current setup is:
- RPi model B running the latest Jessie version, SD card 16gb.
- OpenCV 3.1.0 installed on the Pi.
- Python 2.7.9
Code: Select all
pip install ScipyCode: Select all
pip install -U scikit-image
The main line being repeated is :
and the highlighted text in red is :#warning "Using deprecated NumPy API, disable it by " \
^
In file included from /home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
from /home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from scipy/signal/_spectral.c:242:
/home/pi/.virtualenvs/cv/local/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1448:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
_import_array(void)
I then triedCommand "/home/pi/.virtualenvs/cv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-tsP9z5/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-LlKzFs-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/pi/.virtualenvs/cv/include/site/python2.7/scipy" failed with error code 1 in /tmp/pip-build-tsP9z5/scipy/
Code: Select all
sudo apt-get install python-scipyIf I runNo module named Scipy
Code: Select all
pip freezecycler==0.10.0
gpiozero==1.2.0
matplotlib==1.5.1
numpy==1.11.0
picamera==1.10
pyparsing==2.1.4
python-dateutil==2.5.3
pytz==2016.4
RPi.GPIO==0.6.2
six==1.10.0
I'm really not sure what I'm doing wrong here and would appreciate any help. Thanks