The problem is that the version of numpy installed on the dotCloud Python service is too old, so you need to add the following to your requirements.txt
file before scipy to upgrade to a newer version.
numpy==1.6.1
scipy also requires some system packages that aren't installed by default libatlas-base-dev
and gfortran
in order to build it correctly. You can add these in a systempackages
section of your dotcloud.yml
file, like this:
systempackages:
- libatlas-base-dev
- gfortran
Once you scipy to your requirements.txt
and the systempackages to `dotcloud.yml
, repush. This should fix your issue, and scipy will be installed.
It is also important to note that it will take a little while to build all of those items so the first push might take a few minutes, so don't be surprised if it is taking longer then usual.
(original answer from Ken Cochrane)