Yelp Regression Project Importing Error

As I was working through the Machine Learning Course Yelp Regression Project with Jupyter Notebook (link below), I needed to import Sklearn, so in the command line I went to: cd C:\users…\downloads\yelp_regression_project. Then I used pip to install Sklearn. Afterwards, I ran the code that imports Sklearn and it brought up the following error: ImportError: cannot import name '_check_build’ from partially initialized module ‘sklearn’ (most likely due to a circular import) (C:\Users…\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\sklearn_init.py) What can I do to fix this?
https://www.codecademy.com/courses/machine-learning/informationals/predict-a-yelp-rating-regression

This might help: https://stackoverflow.com/questions/15274696/importerror-in-importing-from-sklearn-cannot-import-name-check-build

1 Like

Thanks! It works now!