Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'Log10' #216

Open
bhishanpdl opened this issue Dec 29, 2020 · 1 comment
Open

ImportError: cannot import name 'Log10' #216

bhishanpdl opened this issue Dec 29, 2020 · 1 comment

Comments

@bhishanpdl
Copy link

bhishanpdl commented Dec 29, 2020

I was wondering how to install the module.
I create a new notebook in google colab but it fails to install. It has problem with skopt module.
I tried to install locally in my laptop with minconda3 and python3.7 and 3.8 but both of them gave the same error.
How to fix the error?

!pip install hyperparameter-hunter
from hyperparameter_hunter import Environment, CVExperiment

Error

ImportError                               Traceback (most recent call last)
<ipython-input-2-ab18e45cc9ba> in <module>()
----> 1 from hyperparameter_hunter import Environment, CVExperiment

3 frames
/usr/local/lib/python3.6/dist-packages/hyperparameter_hunter/space/dimensions.py in <module>()
     38 from scipy.stats.distributions import randint, rv_discrete, uniform
     39 from sklearn.utils import check_random_state
---> 40 from skopt.space.transformers import CategoricalEncoder, Normalize, Identity, Log10, Pipeline
     41 from skopt.space.transformers import Transformer
     42 

ImportError: cannot import name 'Log10'

Further Note

  • I also tried to install in my miniconda environment, it always gave the same error.
  • I tried miniconda3 with python 3.7 and 3.8 with hyperparameter-hunter3.0 but both of them failed.
@MySlientWind
Copy link

The 'Log10' in 'skopt' chaged to 'LogN'.
Replace all 'Log10' with 'LogN' in hyperparameter_hunter/space/dimensions.py will fix this problem.

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

No branches or pull requests

2 participants