You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
Because of the chain of imports put in __init__.py files, when someone tries to import GPyOpt they end up importing matplotlib, even if they have no intention of doing any plotting. This needs to be fixed.
Minimal steps to reproduce:
Create a fresh empty virtual env, activate it. Don't use Anaconda and such
Because of the chain of imports put in
__init__.py
files, when someone tries to import GPyOpt they end up importing matplotlib, even if they have no intention of doing any plotting. This needs to be fixed.Minimal steps to reproduce:
pip install GpyOpt
python -c "import GPyOpt"
ModuleNotFoundError: No module named 'matplotlib'
Proper way to fix this would be to clean up imports done by default, as well as to consider if matplotlib needs to become a hard dependency
The text was updated successfully, but these errors were encountered: