sweetviz安装成功,但无法运行:模块’numpy’没有’warnings’属性。

huangapple go评论77阅读模式
英文:

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

Sweetviz已安装:
sweetviz安装成功,但无法运行:模块’numpy’没有’warnings’属性。

但是当我尝试使用它时,出现错误:
sweetviz安装成功,但无法运行:模块’numpy’没有’warnings’属性。

我尝试降级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

Sweetviz is installed:
sweetviz安装成功,但无法运行:模块’numpy’没有’warnings’属性。

But when I try to use it I get an error:
sweetviz安装成功,但无法运行:模块’numpy’没有’warnings’属性。

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

huangapple
  • 本文由 发表于 2023年6月19日 02:19:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76501976.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定