Traceback (most recent call last):
File "G:/project/surprise/main.py", line 13, in
from surprise.prediction_algorithms import NormalPredictor
File "G:\project\surprise__init.py", line 4, in
from .prediction_algorithms import NormalPredictor
File "G:\project\surprise\prediction_algorithms\init.py", line 24, in
from .random_pred import NormalPredictor
File "G:\project\surprise\prediction_algorithms\random_pred.py", line 9, in
from .algo_base import AlgoBase
File "G:\project\surprise\prediction_algorithms\algo_base.py", line 10, in
from .. import similarities as sims
ImportError: cannot import name 'similarities' from partially initialized module 'surprise' (most likely due to a circular import) (G:\project\surprise\init__.py)
Description
Traceback (most recent call last): File "G:/project/surprise/main.py", line 13, in
from surprise.prediction_algorithms import NormalPredictor
File "G:\project\surprise__init.py", line 4, in
from .prediction_algorithms import NormalPredictor
File "G:\project\surprise\prediction_algorithms\ init.py", line 24, in
from .random_pred import NormalPredictor
File "G:\project\surprise\prediction_algorithms\random_pred.py", line 9, in
from .algo_base import AlgoBase
File "G:\project\surprise\prediction_algorithms\algo_base.py", line 10, in
from .. import similarities as sims
ImportError: cannot import name 'similarities' from partially initialized module 'surprise' (most likely due to a circular import) (G:\project\surprise\ init__.py)
Process finished with exit code 1
Steps/Code to Reproduce
Expected Results
Actual Results
Versions