File "C:\Proj\appspot\get---ip\botocore\session.py", line 470, in user_agent platform.system(), File "C:\Python27\lib\platform.py", line 1263, in system return uname()[0] File "C:\Python27\lib\platform.py", line 1159, in uname release,version,csd,ptype = win32_ver() File "C:\Python27\lib\platform.py", line 632, in win32_ver from _winreg import OpenKeyEx, QueryValueEx, CloseKey, HKEY_LOCAL_MACHINE File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py", line 963, in load_module raise ImportError('No module named %s' % fullname) ImportError: No module named _winreg
C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\python\sandbox.py
_WHITE_LIST_C_MODULES に必要なモジュール名を追加します。例:
_WHITE_LIST_C_MODULES = [ 'array', '_ast', 'binascii', ... 'zlib', '_winreg', '_ssl', '_ctypes', ]Stop → Run で、アプリを再起動します。
0 件のコメント:
コメントを投稿