Closed kylegilde closed 3 years ago
I may be misremembering but don't you need to explicitly turn on web support on Kaggle?
Ok, turning on the Internet in Settings does appear to allow me to install the package.
However, now I'm getting this import error when I try to import any part of the package.
Any suggestions? Thanks
from tune_sklearn import TuneGridSearchCV
# import tune_sklearn as ts
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-11-c70cb68ac57f> in <module>
----> 1 from tune_sklearn import TuneGridSearchCV
/opt/conda/lib/python3.7/site-packages/tune_sklearn/__init__.py in <module>
----> 1 from tune_sklearn.tune_gridsearch import TuneGridSearchCV
2 from tune_sklearn.tune_search import TuneSearchCV
3 from tune_sklearn._version import __version__
4
5 __all__ = ["TuneGridSearchCV", "TuneSearchCV", "__version__"]
/opt/conda/lib/python3.7/site-packages/tune_sklearn/tune_gridsearch.py in <module>
5 import os
6
----> 7 from ray.tune.stopper import CombinedStopper
8 from sklearn.base import clone
9 from sklearn.model_selection import ParameterGrid
ImportError: cannot import name 'CombinedStopper' from 'ray.tune.stopper' (/opt/conda/lib/python3.7/site-packages/ray/tune/stopper.py)
Let's close this and start a new issue.
I can't seem to install the package in a Kaggle Notebook.