fbdesignpro / sweetviz

Visualize and compare datasets, target values and associations, with one line of code.
MIT License
2.94k stars 277 forks source link

sweetviz installed but won't run: module 'numpy' has no attribute 'warnings' #146

Closed madisondevin closed 1 year ago

madisondevin commented 1 year ago

Sweetviz is installed, version 2.1.4 (on Windows) image

But when I try to use it I get an error image

Numpy version is numpy 1.24.3 py311hdab7c0b_1 numpy-base 1.24.3 py311hd01c5d8_1

I tried downgrading numpy as per a previous post, but it impacts other packages that I need. Please advise, thanks!

frank1010111 commented 1 year ago

You can avoid having to downgrade numpy with this fix: https://github.com/fbdesignpro/sweetviz/pull/131#issuecomment-1401394461

fbdesignpro commented 1 year ago

@madisondevin @frank1010111 I am currently on break for the next few days but will be investigating this upon my return, hopefully we can fix this quickly.

fbdesignpro commented 1 year ago

Thanks again for reporting this, should be fixed with the latest version 2.2.1! Please let us know if you run into anything else with the latest version.