platformio / platformio-core-installer

PlatformIO Core Installer
https://docs.platformio.org/en/latest/core/installation/index.html
Apache License 2.0
85 stars 53 forks source link

Can not find working Python 3.6+ Interpreter. Please install the latest Python 3 and restart VSCode #3206

Open AncientTree opened 4 months ago

AncientTree commented 4 months ago

Windows 10 22H2 VS code 1.89.1

When I opened platformio today, it suddenly told me "PlatformIO: Can not find working Python 3.6+ Interpreter. Please install the latest Python 3 and restart VSCode", but there was no exception when I used it last time. I did not update the python version or any other settings. , only a few months have passed. Will the passage of time affect the effectiveness of the platform? This is ridiculous.

I googled related issues, but no solution can solve my problem. The most mentioned solution is to install venv in Linux, but my python portable version (C:.platformio\python3) already has venv, and my anaconda has no faults. When I click "I HAVE PYTHON" to set the python path, no matter whether I fill in the portable version of python or the python path of anaconda, the problem cannot be solved.

My PATH contains the path to anaconda, but not the path to the portable version of python.

I think maybe there is some solution that can save my project, can anyone help me? Also, how did the problem arise?