我想创建 get client lib java,当我运行此代码时
sudo python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle src.service.moDbile_api.MobileApi
它给了我一个错误
valid SDK root.
Traceback (most recent call last):
File "lib/endpoints/endpointscfg.py", line 59, in <module>
import _endpointscfg_setup # pylint: disable=unused-import
File "/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py", line 107, in <module>
_SetupPaths()
File "/var/www/html/salesmanagement/SalesManagement/lib/endpoints/_endpointscfg_setup.py", line 103, in _SetupPaths
from google.appengine.ext import vendor
ImportError: No module named appengine.ext
最佳答案
google.appengine.ext
模块仅在 App Engine First Generation (Python 2.7) runtime 中运行脚本时存在.
关于python - 没有名为 appengine.ext 的模块用于获取客户端库 java create,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56835992/