Home > other >  Pycharm operation error
Pycharm operation error

Time:09-24

Traceback (the most recent call last) :
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ pydev \ pydevconsole py", line 33, in & lt; module>
The from _pydev_bundle. Pydev_console_utils import BaseInterpreterInterface
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ pydev \ _pydev_bundle \ pydev_console_utils py", line 11, the in & lt; module>
The from _pydevd_bundle import pydevd_thrift
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ pydev \ _pydevd_bundle \ pydevd_thrift py", line 17, in & lt; module>
The from pydev_console. Protocol import DebugValue GetArrayResponse, ArrayData, ArrayHeaders, ColHeader, RowHeader, \
File "D: \ student \ pycharm 2019.1 \ helpers \ \ install \ pycharm pydev \ pydev_console \ protocol py", line 6, the in & lt; module>
_console_thrift=_shaded_thriftpy. Load (OS) path) join (OS) path) dirname (OS) path) realpath (__file__), "the console. Thrift"),
File "D: \ student \ pycharm 2019.1 \ helpers \ third_party \ \ install \ pycharm thriftpy \ _shaded_thriftpy \ parser \ set py", line 29, the load in
Thrift=parse (path, module_name, include_dirs=include_dirs,
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 502, in the parse
Parser. Parse (data)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_ply \ yacc py", line 331, in the parse
Return the self. Parseopt_notrack (input, the lexer, debug, tracking, tokenfunc)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_ply \ yacc py", line 1106, in parseopt_notrack
P.c allable (pslice)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 212, in p_struct
Val=_fill_in_struct (p [1], [3] p)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 765, in _fill_in_struct
Gen_init (CLS, thrift_spec default_spec)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ thrift py", line 103, in gen_init
CLS. __init__=init_func_generator (default_spec)
The File "D: \ student \ pycharm 2019.1 \ \ install \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ _compat py", line 102, in init_func_generator
New_code=types. CodeType (len (varnames),
TypeError: an integer is required (got type bytes)

Pycharm run time appear this kind of problem how to do,

CodePudding user response:

Don't stick source problem determination...

CodePudding user response:

Source in the run window to run a normal, in python consle appear error,

CodePudding user response:

The
refer to the original poster & lt; Span style="color: # 4788 c7" & gt; Weixin_45654149 & lt;/span> Response:
source in the run window to run a normal, an error that occurs in the python consle,
& lt; Br/& gt; I also encountered such a problem, is to put the python2 uninstalled in python3, after you solved?

CodePudding user response:

Python code you write do you have any problem, you see the last error is a function of call you need to pass in a type parameter for bytes, you check whether the participation type errors
  • Related