Home >Backend Development >Python Tutorial >What to do if the python path in debugging settings is invalid

What to do if the python path in debugging settings is invalid

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-05-21 10:50:2515025browse

Solution: First click the "Settings" icon button at the bottom of the page, click "Extensions" - "python" in the pop-up window; then find "default interpreter Path" under "python"; finally change it Just change the path to the path where python is installed on your computer.

What to do if the python path in debugging settings is invalid

The operating environment of this tutorial: windows7 system, python3 version, Dell G3 computer.

Find the settings in the lower left corner

Find python under the extension in the user (if not, install the python plug-in first

Find the default interpreter Path under python and change it to the location where python is installed on the computer

Rerun, it should run successfully (just a possibility If the method is unsuccessful, try another method. Until all methods have been tried and the settings are naturally set, you will always succeed)

Related free learning recommendations : python video tutorial!

The above is the detailed content of What to do if the python path in debugging settings is invalid. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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