hyperopt icon indicating copy to clipboard operation
hyperopt copied to clipboard

missing objectid module

Open jaberg opened this issue 11 years ago • 2 comments

From the hyperopt-sklearn example on a Windows machine, this line: from hpsklearn import hyperopt_estimator, any_classifier throws:

C:\Users\amw5g\Anaconda\lib\site-packages\hyperopt\base.py in ImportError: No module named objectid

Granted, I'm maybe ~3 hours into python (coming from R), so I could be overlooking an obvious user error.

jaberg avatar Jul 06 '14 01:07 jaberg

If I had to guess I'd pin the blame on fb5a422c...

dwf avatar Jul 07 '14 11:07 dwf

@dwf You're probably right, but wouldn't the except clause there handle this case? It looks like it's just raising an ImportError, which should result in have_bson = False

jaberg avatar Jul 07 '14 17:07 jaberg

This issue has been marked as stale because it has been open 120 days with no activity. Remove the stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Feb 21 '25 01:02 github-actions[bot]