Mlpy, numpy, scipy on Google App Engine

Can MlPy / SciPy be used in GAE?

I believe that I imported NumPy correctly, as it does not cause any errors so far (GAE 1.6 ships with NumPy support). However, from what I read, I still need to import SciPy and MlPy, and so far I have not been able to do this. Is there any documentation out there that could explain exactly how to configure MlPy on GAE (if possible)?

The main reason why I need MlPy is because I need to do k-analysis (find the center point of the cluster). Isn't there a lite library for this to avoid all the troubles with configuring NumPy and MlPy?

Thanks.

EDIT:

I am trying to import scipy. I have done this:

  • Downloaded scipy-0.11.0b1.tar.gz
  • Extracting the scipy folder to my GAE application folder
  • From python file call 'import scipy'

The error I am getting is:

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. 
+6
source share
1 answer

Libraries written in pure Python that do not require C modules must be supported.

Libraries written in Python that use the MAY C modules are supported . Below is a link to supported and not supported C-modules. This can help determine if the library you want to use will be supported.

Python library support Google App Engine

+4
source

Source: https://habr.com/ru/post/918123/


All Articles