gpt4 book ai didi

python - Gcloud 更新破坏了我的应用程序——GCP Python 2.7

转载 作者:太空狗 更新时间:2023-10-30 00:12:30 25 4
gpt4 key购买 nike

我刚刚升级了 GCloud,现在无法启动我的开发环境。

gcloud --version

  • 谷歌云 SDK 238.0.0
  • 应用引擎去
  • 应用引擎python 1.9.84
  • app-engine-python-extras 1.9.74 测试版 2019.02.22
  • bq 2.0.42
  • 云数据存储模拟器 2.1.0
  • 核心 2019.03.08
  • gsutil 4.37

我不明白这些错误...感谢所有反馈!

WARNING  2019-03-13 20:38:17,348 multistore_file.py:62] The oauth2client.contrib.multistore_file module has been deprecated and will be removed in the next release of oauth2client. Please migrate to multiprocess_file_storage.
ERROR 2019-03-13 20:38:17,586 wsgi.py:263]
Traceback (most recent call last):
File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 240, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 299, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/runtime/wsgi.py", line 96, in LoadObject
__import__(cumulative_path)
File "/Users/dgaedcke/dev/TouchstoneMicroservices/svcAdminApi/main.py", line 8, in <module>
import endpoints as google_cloud_endpoints
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/endpoints/__init__.py", line 33, in <module>
from .apiserving import *
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/endpoints/apiserving.py", line 77, in <module>
from . import endpoints_dispatcher
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/endpoints/endpoints_dispatcher.py", line 36, in <module>
import pkg_resources
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/pkg_resources/__init__.py", line 959, in <module>
class Environment:
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/pkg_resources/__init__.py", line 963, in Environment
self, search_path=None, platform=get_supported_platform(),
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/pkg_resources/__init__.py", line 190, in get_supported_platform
plat = get_build_platform()
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/pkg_resources/__init__.py", line 398, in get_build_platform
version = _macosx_vers()
File "/Users/dgaedcke/dev/TouchstoneMicroservices/lib/pkg_resources/__init__.py", line 369, in _macosx_vers
version = platform.mac_ver()[0]
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py", line 764, in mac_ver
info = _mac_ver_xml()
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py", line 741, in _mac_ver_xml
pl = plistlib.readPlist(fn)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 75, in readPlist
pathOrFile = open(pathOrFile)
File "/Users/dgaedcke/gcloud_tools/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime/stubs.py", line 283, in __init__
raise IOError(errno.EACCES, 'file not accessible', filename)
IOError: [Errno 13] file not accessible: '/System/Library/CoreServices/SystemVersion.plist'
INFO 2019-03-13 20:38:17,610 module.py:861] adminapi: "GET /index HTTP/1.1" 500 -

最佳答案

Google 已收到有关此案例的通知:https://issuetracker.google.com/issues/132240370

如果你也有这个问题,请给这个问题加星标。

关于python - Gcloud 更新破坏了我的应用程序——GCP Python 2.7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55151062/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com