flask oracle11g,使用 Flask 报错

Traceback (most recent call last):

File"", line 1, in File"D:pythoninstallhelperspydev\_pydev_bundlepydev_umd.py", line 197, inrunfile

pydev_imports.execfile(filename, global_vars, local_vars) # execute the script

File"D:pythoninstallhelperspydev\_pydev_imps\_pydev_execfile.py", line 18, inexecfile

exec(compile(contents+"", file, ‘exec‘), glob, loc)

File"E:/Python/UseTest.py", line 8, in app.run()

File"C:UsersyouzikuAppDataRoamingPythonPython36site-packagesflaskapp.py", line 990, inrun

run_simple(host, port, self,**options)

File"C:UsersyouzikuAppDataRoamingPythonPython36site-packageswerkzeugserving.py", line 1009, inrun_simple

inner()

File"C:UsersyouzikuAppDataRoamingPythonPython36site-packageswerkzeugserving.py", line 962, ininner

fd=fd,

File"C:UsersyouzikuAppDataRoamingPythonPython36site-packageswerkzeugserving.py", line 805, inmake_server

host, port, app, request_handler, passthrough_errors, ssl_context, fd=fd

File"C:UsersyouzikuAppDataRoamingPythonPython36site-packageswerkzeugserving.py", line 698, in__init__

HTTPServer.__init__(self, server_address, handler)

File"C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libsocketserver.py", line 453, in__init__

self.server_bind()

File"C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libhttpserver.py", line 138, inserver_bind

self.server_name=socket.getfqdn(host)

File"C:Program Files (x86)Microsoft Visual StudioSharedPython36_64libsocket.py", line 673, ingetfqdn

hostname, aliases, ipaddrs=gethostbyaddr(name)

UnicodeDecodeError:‘utf-8‘ codec can‘t decode byte 0xb3 in position 8: invalid start byte

你可能感兴趣的:(flask,oracle11g)