Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/302.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python Google云功能包括Brew依赖项_Python_Google App Engine_Google Cloud Platform_Google Cloud Functions - Fatal编程技术网

Python Google云功能包括Brew依赖项

Python Google云功能包括Brew依赖项,python,google-app-engine,google-cloud-platform,google-cloud-functions,Python,Google App Engine,Google Cloud Platform,Google Cloud Functions,由于Google AppEngine 2.7不允许使用C库扩展的第三方库,我一直在寻找替代方案,以设置一个后端模拟程序,以实现repo中显示的内容:。它基本上是saml for python,将与我的GAE标准环境一起运行 谷歌云功能似乎非常适合,但我看不到安装Brew依赖项的方法。这不可能吗?不可能为云功能或应用程序引擎标准环境(2.7或3.7)安装系统级依赖项 相反,您需要手动定义一个安装依赖项的Dockerfile,其行如下: RUN apt-get install libffi-dev

由于Google AppEngine 2.7不允许使用C库扩展的第三方库,我一直在寻找替代方案,以设置一个后端模拟程序,以实现repo中显示的内容:。它基本上是saml for python,将与我的GAE标准环境一起运行


谷歌云功能似乎非常适合,但我看不到安装Brew依赖项的方法。这不可能吗?

不可能为云功能或应用程序引擎标准环境(2.7或3.7)安装系统级依赖项

相反,您需要手动定义一个安装依赖项的
Dockerfile
,其行如下:

RUN apt-get install libffi-dev libxmlsec1 libssl-dev

另外请注意,应用程序引擎平台是Ubuntu,因此您可以使用
apt
软件包管理器,而不是
brew
(适用于macOS)。

谢谢,我刚刚完成了这项工作,结果非常简单