Could not find a version that satisfies the requirement scikit-learn (from versions: none)
时间: 2023-10-22 11:10:05 浏览: 54
This error message indicates that the version of scikit-learn you are trying to install is not available or compatible with your current Python environment.
You can try resolving this error by following these steps:
1. Make sure you have the latest version of pip installed by running `pip install --upgrade pip`.
2. Check if your Python environment is compatible with scikit-learn by checking the version of Python you are using. Scikit-learn requires Python 3.6 or higher.
3. Try installing a specific version of scikit-learn that is compatible with your Python environment. For example, if you are using Python 3.8, you can try installing scikit-learn version 0.23.2 by running `pip install scikit-learn==0.23.2`.
4. If none of the above steps work, you may need to install scikit-learn from source by cloning the scikit-learn repository from GitHub and running `pip install .` in the root directory of the repository.
I hope this helps you resolve the issue.