Home > Article > Development Tools > vscode console does not output
Problem:
When you open a python project with vscode, 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 and save the json file Related article tutorial recommendations:The above is the detailed content of vscode console does not output. For more information, please follow other related articles on the PHP Chinese website!