【发布时间】:2021-01-22 11:39:05
【问题描述】:
这里是非常新的 Python 学习者。
尝试构建我的第一个项目,但 numpy 有很多问题。当我尝试运行该程序时,它会返回此错误:
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned
我想我已经在 VS Code 上正确安装了所有东西,尽管弄清楚这一点也很头疼。
在谷歌上搜索错误时不断出现有关加速的内容,但我不知道如何删除或卸载它……甚至不知道它是什么。
任何提示都会很有帮助!
如果需要更多信息,请告诉我。这是我在这里的第一个问题。
谢谢! :)
【问题讨论】:
-
-可以参考这个link提供的方法:安装二进制版本的numpy或者使用其他版本的numpy。
标签: python numpy visual-studio-code accelerate