我的环境是64位win7
报的错是:
D:cocosgameMyGame>python D:cocos2d-js-v3.0-alpha2toolscocos2d-consolebin/
cocos.py run -p web
Runing command: compile
Building mode: debug
Runing command: deploy
Deploying mode: debug
Runing command: run
starting application
Traceback (most recent call last):
File "D:cocos2d-js-v3.0-alpha2toolscocos2d-consolebin/cocos.py", line 383
, in
run_plugin(command, argv, plugins)
File "D:cocos2d-js-v3.0-alpha2toolscocos2d-consolebin/cocos.py", line 354
, in run_plugin
plugin.run(argv, dependencies_objects)
File "D:cocos2d-js-v3.0-alpha2toolscocos2d-consolebin..pluginsproject_r
unproject_run.py", line 143, in run
self.run_web(dependencies)
File "D:cocos2d-js-v3.0-alpha2toolscocos2d-consolebin..pluginsproject_r
unproject_run.py", line 90, in run_web
from SimpleHTTPServer import SimpleHTTPRequestHandler
File "C:Python27libSimpleHTTPServer.py", line 27, in
class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
File "C:Python27libSimpleHTTPServer.py", line 208, in SimpleHTTPRequestHand
ler
mimetypes.init() # try to read system mime.types
File "C:Python27libmimetypes.py", line 358, in init
db.read_windows_registry()
File "C:Python27libmimetypes.py", line 258, in read_windows_registry
for subkeyname in enum_types(hkcr):
File "C:Python27libmimetypes.py", line 249, in enum_types
ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa1 in position 1: ordinal
not in range(128)
D:cocosgameMyGame>
没有中文目录,怎么破?