vscode-python: EOFError: Ran out of input
Issue Type: Bug
Error 2020-07-22 20:17:13: stderr jediProxy Error (stderr) Traceback (most recent call last):
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\compiled\subprocess\__init__.py", line 261, in _send
is_exception, traceback, result = pickle_load(self._get_process().stdout)
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\_compatibility.py", line 396, in pickle_load
return pickle.load(file, encoding='bytes')
EOFError: Ran out of input
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 75, in _get_subprocess
info = self._subprocess._send(None, _get_info)
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\compiled\subprocess\__init__.py", line 273, in _send
stderr,
jedi.api.exceptions.InternalError: The subprocess D:\Program-Files\Anaconda3\envs\py36-idea\python.exe has crashed (EOFError('Ran out of input',), stderr=).
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\completion.py", line 661, in watch
response = self._process_request(rq)
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\completion.py", line 589, in _process_request
all_scopes=True,
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\__init__.py", line 885, in names
return Script(source, path=path, encoding=encoding).get_names(
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\__init__.py", line 185, in __init__
project, environment=environment, script_path=self.path
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\inference\__init__.py", line 90, in __init__
self.compiled_subprocess = environment.get_inference_state_subprocess(self)
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 114, in get_inference_state_subprocess
return InferenceStateSubprocess(inference_state, self._get_subprocess())
File "c:\Users\aaa\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\lib\python\jedi\api\environment.py", line 80, in _get_subprocess
exc))
jedi.api.environment.InvalidPythonEnvironment: Could not get version information for 'D:\\Program-Files\\Anaconda3\\envs\\py36-idea\\python.exe': InternalError("The subprocess D:\\Program-Files\\Anaconda3\\envs\\py36-idea\\python.exe has crashed (EOFError('Ran out of input',), stderr=).",)
Extension version: 2020.7.94776 VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z) OS version: Windows_NT x64 10.0.18363
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-6500U CPU @ 2.50GHz (4 x 2592) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled viz_display_compositor: enabled_on viz_hit_test_surface_layer: disabled_off_ok webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.89GB (7.72GB free) |
Process Argv | E:\downloads\chrome |
Screen Reader | no |
VM | 0% |
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 3
- Comments: 15 (6 by maintainers)
I had download and try it. this insiders plugin has no error.
All python version has error. I think it has nothing to do with the python version. python plugin has problem I test version :
I can not install another verison from vscode directly. So I had to download from github.
By using the dichotomy, I can already locate the version that caused the problem