什么Numpy版本与Python 3.7兼容?

发布于 2025-02-02 16:10:44 字数 474 浏览 3 评论 0原文

GMAT 2020A Python版本的Goddard Mission Analysis工具被限制为Python 3.7,因为GMAT libpythoninterface中的二进制依赖性

在运行python userFunction时,我会得到臭名昭著的numpy例外:

没有名为'numpy.core._multiarray_umath'

的模块

其他模块试图有用,并将用户引导到( https://numpy.org/devdocs/user/troubleshooting-importerror.html )但是,那里的建议是通用,错误和不完整的。

The Goddard Mission Analysis Tool, GMAT 2020a python version is constrained to Python 3.7 due to a binary dependency in GMAT libPythonInterface.dll

When running a python userfunction I get the notorious numpy exception:

No module named 'numpy.core._multiarray_umath'

Additional text in the error message attempts to be helpful and directs the user to (https://numpy.org/devdocs/user/troubleshooting-importerror.html) but the suggestions there are generic, erroneous, and incomplete.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

过气美图社 2025-02-09 16:10:44

经过大量研究,我发现了numpy-python版本依赖项的描述(

此外,使用conda及其是出色的依赖性检查器,我发现了以下常见应用程序(与GMAT一起使用)的以下版本:

-numpy 1.16

-matplotlib 3.4

-scipy 1.5.3

-xlwings -0.26.26.3

-xlsxwriter -xlsxwriter- -xlsxwriter-sxwrerter-ycl. 3.0.2

-PyQT5 5.12

After much research, I uncovered a description of numpy-python version dependencies at (https://numpy.org/neps/nep-0029-deprecation_policy.html) and I want to document it here, for myself as well as other users.

In addition, using conda and it's wonderful dependency checker, I have uncovered the following versions of common applications (that I use with GMAT) as follows:

-numpy 1.16

-matplotlib 3.4

-scipy 1.5.3

-xlwings-0.26.3

-xlsxwriter-3.0.2

-PyQt5 5.12

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文