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

AttributeError: module 'sklift' has no attribute 'viz' #217

Open
AlmogW opened this issue Dec 18, 2024 · 0 comments
Open

AttributeError: module 'sklift' has no attribute 'viz' #217

AlmogW opened this issue Dec 18, 2024 · 0 comments

Comments

@AlmogW
Copy link

AlmogW commented Dec 18, 2024

🐛 Bug

Hi!
I got an error after install scikit-uplift on a fresh conda environment.

import sklift
sklift.viz
AttributeError: module 'sklift' has no attribute 'viz'

from sklift import viz
ImportError: cannot import name 'check_matplotlib_support' from 'sklearn.utils' (C:\Users\ALMOGW\Anaconda3\envs\causal_env\lib\site-packages\sklearn\utils\__init__.py)
`

To Reproduce

Steps to reproduce the behavior:

  1. conda create -n causal_env python=3.9.12
  2. conda activate causal_env
  3. pip install scikit-uplift
  4. run the commands above

Environment

  • scikit-uplift version: 0.5.1
  • scikit-learn version: 1.6.0 (I tried older versions as well)
  • Python version : 3.9.12
  • OS : Windows

Additional context

  • I do not have access to conda-forge
  • I was able to use it in the past on the same computer but I had to reinstall anaconda and create a new env from scratch

image

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

1 participant