1

我正在 Windows 上自己编译 numpy。构建和安装运行良好;但是如何列出当前启用的模块..和不可用的模块(由于编译失败或缺少库)?

4

1 回答 1

2

numpy 没有可选组件。要么构建成功,要么失败。您可以运行测试套件以查看构建是否有效。

$ python -c "import numpy;numpy.test()"
Running unit tests for numpy
NumPy version 1.4.0.dev
NumPy is installed in /Users/rkern/svn/numpy/numpy
Python version 2.5.4 (r254:67916, Apr 23 2009, 14:49:51) [GCC 4.0.1 (Apple Inc. build 5465)]
nose version 0.11.0
.....................
... etc.
于 2009-08-26T16:58:26.133 回答