Home > other >  Under the vscode writing python problem
Under the vscode writing python problem

Time:09-21

The couple recently started learning python, because before learning c/c + +, so use vscode directly as editor,
But when debugging a bunch of links: 'c: \ Users \ John \ Documents \ python'; The ${env: PYTHONIOENCODING}="utf-8"; The ${env: PYTHONUNBUFFERED}='1'; & 'C: \ Program Files \ Microsoft Visual Studio (x86) \ Shared \ Python36_64 \ python exe' 'C: \ Users \ John \. Vscode \ extensions \ ms - python python - 2018.3.1 \ pythonFiles \ PythonTools \ visualstudio_py_launcher py' 'C: \ Users \ John \ Documents \ python', '49788', '34806 ad9-833 - a - 4524-8 cd6 to 18 ca4aa74f14' 'RedirectOutput RedirectOutput,' 'C: \ Users \ \ John \ Documents \ python py. Py' , although normal use but very uncomfortable,
Excuse me:
1, what reason be?
2, how to solve?

CodePudding user response:

This should be VSCODE output,

CodePudding user response:

Have installed plugin?
Which of you is call you in the system the Python command,

CodePudding user response:

Sorry, which put the wrong picture above,
Have installed plugin?
Which of you is call you in the system the Python command,

CodePudding user response:

Need to install two plug-in
The first is a python Code the second Runner

CodePudding user response:

Don't know you solve the problem no, that should be a series of chain VS Code in Python program debugging when performing a series of operations in terminal, you can see this article,
I of the solution is by installing the Code Runner this plug-in, and then the CTRL + Alt + N output in the output, so you can avoid seeing the Python Debug Console of a series of operations,
Don't know whether you have a better method, the hope can help you,

CodePudding user response:

The building Lord, I have met you this problem recently, at first I will install the code runner is the plug-in and then is that a bunch of chain, the result today I disable this plugin I found that I did not appear that a string is directly is the path, don't know if you could try the same
  • Related