error on install
Hi, been getting the following but no luck at solving it
https://github.com/scikit-learn/sklearn-pypi-package/issues/new [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True Then, pip install pysurvival
@zlpiscoming, The suggested fix doesn't work at least on google colab.
First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True Then, pip install pysurvival
This works @zlpiscoming Thank you!
import os my_var = "True" os.environ['SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL'] = my_var