Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/grails/5.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 GCP应用程序引擎部署-未能生成logilab astng_Python_Django_Google Cloud Platform - Fatal编程技术网

Python GCP应用程序引擎部署-未能生成logilab astng

Python GCP应用程序引擎部署-未能生成logilab astng,python,django,google-cloud-platform,Python,Django,Google Cloud Platform,我发这篇文章希望能帮助其他有同样问题的人。我使用了GCP文档将python应用程序部署到GCP应用程序引擎。我在注销时遇到以下故障: ERROR: build step 1 "gcr.io/gae-runtimes/python37_app_builder:python37_20190907_3_7_4_RC00" failed: exit status 1 ERROR Finished Step #1 - "builder" Step #1 - "builder": IOError: [Err

我发这篇文章希望能帮助其他有同样问题的人。我使用了GCP文档将python应用程序部署到GCP应用程序引擎。我在注销时遇到以下故障:

ERROR: build step 1 "gcr.io/gae-runtimes/python37_app_builder:python37_20190907_3_7_4_RC00" failed: exit status 1
ERROR
Finished Step #1 - "builder"
Step #1 - "builder": IOError: [Errno 2] No such file or directory: '""/output'
Step #1 - "builder": File "/usr/local/bin/ftl.par/__main__/ftl/common/ftl_error.py", line 58, in UserErrorHandler
Step #1 - "builder": File "/usr/local/bin/ftl.par/__main__.py", line 57, in main
Step #1 - "builder": File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
Step #1 - "builder": exec code in run_globals
Step #1 - "builder": File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
Step #1 - "builder": "__main__", fname, loader, pkg_name)
Step #1 - "builder": File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
Step #1 - "builder": Traceback (most recent call last):
Step #1 - "builder": error: `pip_download_wheels` returned code: 1
Step #1 - "builder":
Step #1 - "builder": ERROR: Failed to build one or more wheels
Step #1 - "builder": Failed building wheel for logilab-astng
Step #1 - "builder": ERROR `pip_download_wheels` had stderr output:
Step #1 - "builder": INFO full build took 24 seconds
Step #1 - "builder": INFO build process for FTL image took 24 seconds
Step #1 - "builder": INFO pip_download_wheels took 19 seconds
Step #1 - "builder": ERROR error: `pip_download_wheels` returned code: 1
Step #1 - "builder":
Step #1 - "builder": ERROR: Failed to build one or more wheels
Step #1 - "builder": Failed building wheel for logilab-astng
Step #1 - "builder": INFO `pip_download_wheels` had stderr output:
Step #1 - "builder":
Step #1 - "builder": Failed to build logilab-astng
Step #1 - "builder": Successfully built mysqlclient django-lint pylint logilab-common
Step #1 - "builder": Stored in directory: /tmp/tmp8f2PME/wheel
Step #1 - "builder": Building wheel for logilab-common (setup.py): finished with status 'done'
Step #1 - "builder": Building wheel for logilab-common (setup.py): started
Step #1 - "builder": Stored in directory: /tmp/tmp8f2PME/wheel
Step #1 - "builder": Building wheel for pylint (setup.py): finished with status 'done'
Step #1 - "builder": Building wheel for pylint (setup.py): started
Step #1 - "builder": Running setup.py clean for logilab-astng
Step #1 - "builder": ----------------------------------------
Step #1 - "builder":
Step #1 - "builder": error: [Errno 2] No such file or directory: '2to3': '2to3'
Step #1 - "builder": running 2to3 on build/lib/logilab/astng/brain
Step #1 - "builder": package init file './test/__init__.py' not found (or not a regular file)
Step #1 - "builder": Skipping optional fixer: ws_comma
Step #1 - "builder": Skipping optional fixer: set_literal
删除此选项后,部署工作正常


如果您必须使用django lint,那么坦率地说,我不知道解决方案。

您运行的是标准环境还是Flex环境?您运行的是标准环境还是Flex环境?
django-lint==2.0.4