kochlisGit / ProphitBet-Soccer-Bets-Predictor

ProphitBet is a Machine Learning Soccer Bet prediction application. It analyzes the form of teams, computes match statistics and predicts the outcomes of a match using Advanced Machine Learning (ML) methods. The supported algorithms in this application are Neural Networks, Random Forests & Ensembl Models.
MIT License
281 stars 104 forks source link

ImportError #40

Open Corvoninety opened 9 months ago

Corvoninety commented 9 months ago

Hello everyone! Hope somebody can help me. I imported the project in Anaconda on a Mac, but when I try to execute the file main.py I run into this error:

File ~/anaconda3/lib/python3.11/site-packages/imblearn/utils/_param_validation.py:908 from sklearn.utils._param_validation import (

ImportError: cannot import name '_MissingValues' from 'sklearn.utils._param_validation' (/Users/MYFOLDER/anaconda3/lib/python3.11/site-packages/sklearn/utils/_param_validation.py)

What could be the problem? Thanks to everyone who will try to help me!

KnightRider37 commented 8 months ago

You can try:

pip uninstall scikit-learn pip install scikit-learn==1.2.2