ray-project / tune-sklearn

A drop-in replacement for Scikit-Learn’s GridSearchCV / RandomizedSearchCV -- but with cutting edge hyperparameter tuning techniques.
https://docs.ray.io/en/master/tune/api_docs/sklearn.html
Apache License 2.0
465 stars 52 forks source link

AttributeError #174

Closed theshy456 closed 3 years ago

theshy456 commented 3 years ago

AttributeError: partially initialized module 'ray' has no attribute 'compat' (most likely due to a circular import) 微信图片_20210106234706

Yard1 commented 3 years ago

Try installing ray and tune-sklearn in a new virtualenv.

theshy456 commented 3 years ago

尝试在新的virtualenv中安装ray和tune-sklearn。

微信图片_20210107005207

richardliaw commented 3 years ago

Please post this issue on https://github.com/ray-project/ray as it seems unrelated to tune-sklearn specifically!