Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

GPy and Matplotlib missing in setup.py #145

Open
labodyn opened this issue Jan 8, 2018 · 4 comments
Open

GPy and Matplotlib missing in setup.py #145

labodyn opened this issue Jan 8, 2018 · 4 comments

Comments

@labodyn
Copy link
Contributor

labodyn commented Jan 8, 2018

While executing pip install gpyopt:

  File "/home/lander/miniconda3/envs/gpyopt/lib/python3.6/site-packages/GPy/plotting/__init__.py", line 18, in change_plotting_library
    import matplotlib
ModuleNotFoundError: No module named 'matplotlib'
@javiergonzalezh
Copy link
Member

Do you still have the problem?

@labodyn
Copy link
Contributor Author

labodyn commented Feb 26, 2018

When installing in fresh environment with pip install gpyopt, I had the same error again for numpy. After installing numpy manually, the gpyopt package could be installed.

@KOLANICH
Copy link

When installing in fresh environment with pip install gpyopt, I had the same error again for numpy.

It is issue with gpy.

SheffieldML/GPy@2ca138e#diff-2eeaed663bd0d25b7e608891384b7298

It seems that PyPI doesn't have a wheel for it, so sdist is used.

@erinpentecost
Copy link

Plotting libraries in gpy are optional, and are controlled by the library's .cfg file. The default-enabled library is matplotlib, but it's possible to disable all plotting libraries by setting the value to 'none'. This causes breaks in GpyOpt (not Gpy) in GPyOpt\plotting\plots_bo.py, since it assumes pylab is installed (which is not a declared dependency of GpyOpt and won't be present in Gpy if the plotter is changed to something other than the default).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants