gpt4 book ai didi

python - App Engine 开发服务器 : bad runtime process port ['' ]

转载 作者:太空宇宙 更新时间:2023-11-04 01:27:05 25 4
gpt4 key购买 nike

我在运行本地开发服务器时收到以下错误消息:

bad runtime process port ['']

Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 565, in <module>
main()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 547, in main
known_paths = addusersitepackages(known_paths)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 278, in addusersitepackages
user_site = getusersitepackages()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 253, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 242, in getuserbase
from sysconfig import get_config_var
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 104, in <module>
_PROJECT_BASE = os.path.dirname(_safe_realpath(sys.executable))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 99, in _safe_realpath
return realpath(path)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 366, in realpath
if islink(component):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 136, in islink
return stat.S_ISLNK(st.st_mode)
AttributeError: 'module' object has no attribute 'S_ISLNK'

我已经尝试恢复几天并在众所周知的工作状态下运行该项目,但我遇到了同样的错误。上传到google没问题。其他项目在本地工作。我使用 1.8.1 SDK。

最佳答案

我在本地遇到了类似的问题。我解决了删除所有文件 .pyc 并重新加载页面的问题。

关于python - App Engine 开发服务器 : bad runtime process port ['' ],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17088950/

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