Skip to content

Installation issues

Max Schrader edited this page Apr 17, 2022 · 4 revisions

This page describes common GPy installation issues and their solutions. If you solve a new installation issue, please record it here.

How to install

Typically, you'll install GPy using pip via the following command: pip install GPy.

Common issues

ValueError: numpy.ndarray size changed, ...

The full text of the error is ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject. A full traceback is available in #924. This issue is caused by an incompatible numpy installation and is solved by running pip uninstall numpy && pip install numpy. Then, you should be able to run pip install GPy without seeing the same ValueError.

Hanging Import

An issue in matplotlib pyplot has been reported by one user to cause a "hanging" import gpy on Ubuntu. This StackOverflow post further explains the hanging matplotlib.pyplot behavior.