note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
Failed to build scikit-learn
ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects
WARNING: You are using pip version 22.0.3; however, version 23.3.2 is available.
You should consider upgrading via the '/home/adminuser/venv/bin/python -m pip install --upgrade pip' command.
Checking if Streamlit is installed
I’d recommend to check if
scikit-learn is presented in
requirements.txt. If so, try rebooting the app again. Sometimes adding the library to the requirements file after the app has been deployed may not yet trigger an install of such library, thus a reboot would be helpful.