Cannot install scikit-learn==1.2.0 and scikit-learn==1.4.0 because these package versions have conflicting dependencies

Getting below error while running the app.

There seems to be something wrong with your requirements.

may be or not…
as it has running 3months before with same requirements

You have scikit-learn two times in your requirements.txt file with different versions…

Hi @VivekGangurde

Yes, as @Franky1 had pointed out the error lies in the duplicate entries of scikit-learn in the requirements.txt file:

ERROR: Cannot install scikit-learn==1.2.0 and scikit-learn==1.4.0 because these package versions have conflicting dependencies. 
The conflict is caused by: 
     The user requested scikit-learn==1.2.0 
     The user requested scikit-learn==1.4.0

You can delete one of the line in the requirements.txt file.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.