Problem Statment
I'm trying to run some old python code that requires scikit-learn 18.0
but the current version I have installed is 0.22
and so I'm getting a warning/invalid data when I run the code.
What I've Tried
I tried installing the specific version both in the terminal: python -m pip install scikit-learn==0.18
and in conda
and none of that has worked. All I can install is v 0.22
. Help? Thanks.
Error In Terminal
ERROR: Failed building wheel for scikit-learn
Running setup.py clean for scikit-learn
Failed to build scikit-learn
Installing collected packages: scikit-learn
Found existing installation: scikit-learn 0.22.1
Uninstalling scikit-learn-0.22.1:
Successfully uninstalled scikit-learn-0.22.1
Running setup.py install for scikit-learn ... error
ERROR: Command errored out with exit status 1:
Error through conda environment:
PackagesNotFoundError: The following packages are not available fromcurrent channels:
- scikit-learn==0.18 this was after creating and activating the new environment