Problem description:
When using vscode to open a python project, the python path is configured. But this creates a problem: after running/debugging, no error is reported, but the most basic print() result will not be output on the console terminal TERMINAL.
Solution:
The automatically configured python path of anaconda is pythonw.exe, just change it to python.exe.
1. Open File->Preferences->Setting and set the path.
2. Open Edit in setting.json in User->Python and modify the configuration.
3. Just change pythonw.exe to python.exe. Of course, you can also configure python.exe in other environments.
Save the json file.
Recommended related tutorials: vscode tutorial
The above is the detailed content of What should I do if the vscode terminal does not display the content?. For more information, please follow other related articles on the PHP Chinese website!