英文:
sweetviz installed but won't run: module 'numpy' has no attribute 'warnings'
问题
目标:使用相关性和线性图形进行自动的探索性数据可视化,允许您指定目标和因变量。
尝试:在miniconda环境中使用Sweetviz(使用conda install而不是pip)。
Numpy版本是
numpy 1.24.3 py311hdab7c0b_1
numpy-base 1.24.3 py311hd01c5d8_1
我尝试降级numpy,但会影响到我需要的其他包。请建议:是否有其他可以与目标变量一起使用的包?如果不行,我该如何使sweetviz工作?谢谢!
英文:
Goal: Automated exploratory data visualizations with correlations and linear plots that lets you specify a target, dependent variable.
Trying: Sweetviz, in miniconda environment (using conda install rather than pip)
Numpy version is
numpy 1.24.3 py311hdab7c0b_1
numpy-base 1.24.3 py311hd01c5d8_1
But when I try to use it I get an error:
I tried downgrading numpy, but it impacts other packages that I need. Please advise: Is there a different package I could use that would work with a target variable? How could I get sweetviz to work if not? Thank you!!
答案1
得分: 1
Maintainer of the sweetviz
here; there were a bunch of incompatibilities that sprung up recently, so we just updated sweetviz to 2.2.1 to support the latest versions of numpy and pandas. That error should be gone now, by updating sweetviz to the latest.
This can be done using pip install sweetviz --upgrade
. There HAVE been issues sometimes with upgrading, so the upgrade fails you can do a clean install by uninstalling then reinstalling:
pip uninstall sweetviz
pip install sweetviz
英文:
Maintainer of the sweetviz
here; there were a bunch of incompatibilities that sprung up recently, so we just updated sweetviz to 2.2.1 to support the latest versions of numpy and pandas. That error should be gone now, by updating sweetviz to the latest.
This can be done using pip install sweetviz --upgrade
. There HAVE been issues sometimes with upgrading, so the upgrade fails you can do a clean install by uninstalling then reinstalling:
pip uninstall sweetviz
pip install sweetviz
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论