2

I am following the instructions in How to install latest Scipy version on Raspberry Pi and when I get to point of running:

python3 setup.py build

I get the following:

result of build

I tried looking at _vq.pyx but I didn't see any problems. I also have tried clearing out the directory and trying again, but that didn't help either.

HalCat
  • 21
  • 4

1 Answers1

2

Ben Nuttall's piwheels repository (https://www.piwheels.org/) has pre-compiled wheels for the Raspberry Pi. Currently it contains virtually all packages that can be downloaded from PyPi for Python 3.4 and 3.5 and is still expanding.

Current distributions of Raspbian Stretch are already configured to use the piwheels repo and the latest release of scipy can be installed with

sudo pip3 install scipy

On other distros (such as Raspbian Jessie) it can easily be added by creating the file '/etc/pip.conf' containing:

[global]
extra-index-url=https://www.piwheels.org/simple
Dirk
  • 3,749
  • 3
  • 19
  • 27