pythonscikit-learnjupyterrecommendation-engine

Cannot install scikit-surprise on my jupyter notebook


enter image description here

I am building a recommendation engine and am not able to install surprise, i thought the problem was because i didn't have a c compiler(since i found some people saying it would solve the problem) so i installed it too but couldn't solve anything. i even tried runing the pip install on my command prompt and it gave an error.


Solution

  • Some users have suggested that i use '!' before pip but pip install works fine for me all the time as u see in the picture for numpy.

    the solution i found for this was

    Step 1 : Go to anaconda command prompt

    Step 2 : Type conda update --all

    Step 3 : Type conda install -c conda-forge scikit-surprise

    i hope this is helpful to anyone who encounters this error in the future.