Here is the error when I try to import
>>> from tune_sklearn import TuneSearchCV
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/tmamidi/.conda/envs/training/lib/python3.8/site-packages/tune_sklearn/__init__.py", line 1, in <module>
from tune_sklearn.tune_gridsearch import TuneGridSearchCV
File "/home/tmamidi/.conda/envs/training/lib/python3.8/site-packages/tune_sklearn/tune_gridsearch.py", line 9, in <module>
from sklearn.model_selection import ParameterGrid
File "/home/tmamidi/.conda/envs/training/lib/python3.8/site-packages/sklearn/model_selection/__init__.py", line 21, in <module>
from ._validation import cross_val_score
File "/home/tmamidi/.conda/envs/training/lib/python3.8/site-packages/sklearn/model_selection/_validation.py", line 30, in <module>
from ..metrics import check_scoring
File "/home/tmamidi/.conda/envs/training/lib/python3.8/site-packages/sklearn/metrics/__init__.py", line 7, in <module>
from ._ranking import auc
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 779, in exec_module
File "<frozen importlib._bootstrap_external>", line 911, in get_code
File "<frozen importlib._bootstrap_external>", line 580, in _compile_bytecode
EOFError: marshal data too short
I’m using python-3.8.5 and ray-1.3.0 along with tune-sklearn.
Any help is appreciated!
Thanks!