I am getting this error when I run the following code:
from sklearn.decomposition import LatentDirichletAllocation
ImportError: cannot import name '__check_build' from partially initialized module 'sklearn' (most likely due to a circular import).
When I check pip freeze
scikit-learn is installed.
Also,I tried to uninstall and reinstall sklearn,now I am getting a different error:
ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'C:\\Users\\<user>\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python38\\site-packages\\sklearn\\datasets\\tests\\data\\openml\\292\\api-v1-json-data-list-data_name-australian-limit-2-data_version-1-status-deactivated.json.gz'