Home > Development Tools > VSCode > What should I do if the vscode terminal does not display the content?

What should I do if the vscode terminal does not display the content?

王林
Release: 2020-04-05 12:00:11
Original
15263 people have browsed it

What should I do if the vscode terminal does not display the content?

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.

What should I do if the vscode terminal does not display the content?

2. Open Edit in setting.json in User->Python and modify the configuration.

What should I do if the vscode terminal does not display the content?

3. Just change pythonw.exe to python.exe. Of course, you can also configure python.exe in other environments.

What should I do if the vscode terminal does not display the content?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template