numpy版本和numba
我正在运行一些Python(3.9.12)代码,并且运行良好。 如果我尝试调试(与pycharm),我会得到: 'attributeError:模块'numpy.core'没有属性'数字型'
我搜索了它,并得到了升级numpy的建议,但是当我尝试运行它时,提出了这个错误: Importerror:Numba需要Numpy 1.21或更少。
还有其他建议可以调试吗?
I am running some python (3.9.12) code and runs fine.
If I try to debug (with PyCharm) I get:
'AttributeError: module 'numpy.core' has no attribute 'numerictypes''
I googled it, and got the suggestion of upgrading my numpy, but then when I try to run it, comes up with this error:
importerror: numba needs numpy 1.21 or less.
Any other suggestions to get to be able to debug?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到解决方法:
在Pycharm中更改此设置修复了它。
Found workaround:
Changing this setting in PyCharm fixed it.