I've added these steps to install necessary libraries

Lots of people seem to have this problem with an "error: command 'gcc' failed with exit status 1" on installing.
E.g. this can be reproduced on a clean AWS Ubuntu install.

Feel free to revert, but this issue comes up regularly.
This commit is contained in:
Mike Smith 2019-05-15 08:46:43 +01:00 committed by GitHub
parent 54c32d79d2
commit c843b69efc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,6 +99,16 @@ the [anaconda python distribution](http://continuum.io/downloads).
With anaconda you can install GPy by the following:
conda update scipy
Then potentially try,
sudo apt-get install python3-dev
sudo apt-get update
sudo apt-get install build-essential
conda update anaconda
And finally,
pip install gpy
We've also had luck with [enthought](http://www.enthought.com). Install scipy 0.16 (or later)