Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on install #67

Open
fatcode01 opened this issue Sep 6, 2023 · 4 comments
Open

error on install #67

fatcode01 opened this issue Sep 6, 2023 · 4 comments

Comments

@fatcode01
Copy link

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.

@zlpiscoming
Copy link

First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True
Then, pip install pysurvival

@ravindrareddytamma
Copy link

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

@S-B-Iqbal
Copy link

First, export SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True Then, pip install pysurvival

This works @zlpiscoming Thank you!

@rnjv
Copy link

rnjv commented Apr 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants