Google App Engine上的mlpy,numpy,scipy

Mic*_*dek 6 python google-app-engine numpy scipy

可以在GAE上使用MlPy/SciPy吗?

我相信我已正确导入NumPy,因为它到目前为止没有引起任何错误(GAE 1.6支持NumPy).但是,从我读过的内容来看,我仍然需要导入SciPy和MlPy,到目前为止我还没能做到.是否有任何文件可以准确解释如何在GAE上设置MlPy(如果这是可能的话)?

我需要MlPy的主要原因是我需要进行k均值分析(找到一个聚类中心点).是不是有一个"精简"库可以避免设置NumPy和MlPy的所有麻烦?

谢谢.

编辑:

我正在尝试导入scipy.我做的是:

  1. 已下载scipy-0.11.0b1.tar.gz
  2. 将'scipy'文件夹提取到我的GAE App文件夹中
  3. 从python文件中,调用'import scipy'

我得到的错误是:

ImportError: Error importing scipy: you cannot import scipy while
        being in scipy source directory; please exit the scipy source
        tree first, and relaunch your python intepreter.
Run Code Online (Sandbox Code Playgroud)

Tom*_*ron 4

应该支持用纯 Python 编写的不需要 C 模块的库。

可能支持使用 C 模块的 Python 编写的库。以下是支持和不支持的 C 模块的链接。这可能有助于确定您要使用的库是否受支持。

Google App Engine Python 库支持