pysurvival icon indicating copy to clipboard operation
pysurvival copied to clipboard

error on install

Open fatcode01 opened this issue 2 years ago • 4 comments

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.

fatcode01 avatar Sep 06 '23 10:09 fatcode01

First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True Then, pip install pysurvival

zlpiscoming avatar Oct 16 '23 07:10 zlpiscoming

@zlpiscoming, The suggested fix doesn't work at least on google colab.

ravindrareddytamma avatar Dec 21 '23 06:12 ravindrareddytamma

First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True Then, pip install pysurvival

This works @zlpiscoming Thank you!

S-B-Iqbal avatar Mar 26 '24 09:03 S-B-Iqbal

import os my_var = "True" os.environ['SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL'] = my_var

rnjv avatar Apr 15 '24 19:04 rnjv