我在googleappengine中尝试了最简单的helloworld应用程序 我已经下载和安装了 1) Python 2.7版 2) 谷歌Appengine启动器 创建应用程序
你知道吗附录yaml你知道吗
application: first
version: 1
runtime: php
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: .*
script: main.php
那个主要.php你知道吗
<?php
echo 'Hello world!';
我无法运行或部署应用程序。 日志上说:
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\appcfg.py", line 196, in <module>
run_file(__file__, globals())
File "C:\Program Files\Google\google_appengine\appcfg.py", line 192, in run_file
execfile(script_path, globals_)
File "C:\Program Files\Google\google_appengine\google\appengine\tools\appcfg.py", line 44, in <module>
import mimetypes
File "C:\Python27\lib\mimetypes.py", line 29, in <module> import urllib
File "C:\Python27\lib\urllib.py", line 26, in <module>import socket
File "C:\Python27\lib\socket.py", line 47, in <module>
import _socket
ImportError: Module use of python25.dll conflicts with this version of Python.
2013-12-20 00:26:34 (Process exited with code 1)
我重新安装了发射器,但它没有工作。你知道吗
Google应用引擎启动程序对我不起作用。 为了部署,我在命令提示符中使用了以下命令
相关问题 更多 >
编程相关推荐