如何在Google App Engine上“安装”模块? [英] How do I 'install' a module on Google App Engine?

查看:85
本文介绍了如何在Google App Engine上“安装”模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不好意思,因为我是新手。我已经完成了所有可以搜索的内容,并且当我知道要安装的模块时,我无法知道如何安装特定的模块。



我想安装 Python-OAuth2 到GAE,但由于找不到特定的 oauth2.py 文件,我不知道要在我的机器上复制到我的应用程序目录中(更不用说如果)

在Google App Engine上安装第三方Python模块的最直接方式是什么?

解决方案

对于这种特殊情况,将整个 oauth2 目录复制到您的应用文件夹。它应该工作。


Excuse me as I'm new to this. I've done all the searching I can, and while I know the module I want to install, I can't figure out how to install the specific module.

I'm wanting to install Python-OAuth2 to GAE, but as I can't find the specific oauth2.py file, I don't know what to copy into my app's directory on my machine (let alone if that will work).

What is the most direct way of installing third-party python modules on Google App Engine?

解决方案

For this particular case, copy the entire oauth2 directory to your app's folder. It should work.

这篇关于如何在Google App Engine上“安装”模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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