Home > other >  To solve the pycharm operation error problem
To solve the pycharm operation error problem

Time:09-27

D: \ student \ Python3.8 \ bag \ python exe "D: \ student \ pycharm \ install \ pychar package 2019.1 \ \ pycharm helpers \ pydev \ pydevconsole py" - mode=client - port=50707
Traceback (the most recent call last) :
The File "D: \ student \ pycharm \ install \ pychar package \ 2019.1 \ helpers \ pydev pycharm \ pydevconsole py", line 33, in & lt; module>
The from _pydev_bundle. Pydev_console_utils import BaseInterpreterInterface
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ helpers \ \ pycharm pydev \ _pydev_bundle \ pydev_console_utils py", line 11, the in & lt; module>
The from _pydevd_bundle import pydevd_thrift
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ helpers \ \ pycharm 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 \ install \ pychar package 2019.1 \ helpers \ \ 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 \ install \ pychar package 2019.1 \ \ pycharm helpers \ third_party \ 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 \ install \ pychar package \ 2019.1 \ helpers \ third_party pycharm \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 502, in the parse
Parser. Parse (data)
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ \ 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)
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ \ pycharm helpers \ third_party \ thriftpy \ _shaded_ply \ yacc py", line 1106, in parseopt_notrack
P.c allable (pslice)
The File "D: \ student \ pycharm \ install \ pychar package \ 2019.1 \ helpers \ third_party pycharm \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 212, in p_struct
Val=_fill_in_struct (p [1], [3] p)
The File "D: \ student \ pycharm \ install \ pychar package \ 2019.1 \ helpers \ third_party pycharm \ thriftpy \ _shaded_thriftpy \ parser \ parser py", line 765, in _fill_in_struct
Gen_init (CLS, thrift_spec default_spec)
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ \ pycharm helpers \ third_party \ thriftpy \ _shaded_thriftpy \ thrift py", line 103, in gen_init
CLS. __init__=init_func_generator (default_spec)
File "D: \ student \ pycharm \ install \ pychar package 2019.1 \ \ 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)

On A single host A prcharm project directory will be copied to another host B run on this problem,

  • Related