是否可以在 Google App Engine 上运行 scikit-learn? [英] Is it possible to run scikit-learn on Google App Engine?

查看:21
本文介绍了是否可以在 Google App Engine 上运行 scikit-learn?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让 scikit-learn 在 Google App Engine 上运行.由于 scikit-learn 不是 GAE 中默认包含的库之一,我按照this SO question的说明进行操作,但我无法让它工作.我怀疑这个问题与依赖关系有关,所以在绝望中我发现了scikit-learn 的依赖关系 并在libs"文件夹中添加了 numpy 和 setuptolls inapp.yaml 和 scipy.不出所料,这也不起作用.

I'm trying to get scikit-learn to run on Google App Engine. Since scikit-learn isn't one of the default included libraries in GAE, I followed the instructions from this SO question but I couldn't get it to work. I suspected the problem has something to do with dependencies, so in desperation I found out scikit-learn's dependencies and added numpy and setuptolls inapp.yaml and scipy in the "libs" folder. Unsurprisingly, this didn't work either.

所以,我不得不问,我正在尝试做的事情是可能的,还是应该尝试使用不同的框架?

So, I have to ask, is what I'm attempting to do even possible or should I try using a different framework?

推荐答案

Python 3.7 Standard Runtime 支持导入任何你想使用的库,例如 sklearn

这篇关于是否可以在 Google App Engine 上运行 scikit-learn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆