-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report]: Python not accessible during onboarding (VSC-451) #185
Comments
Could you please share the python version received from
Also could you try to test this with the released version of IDF like |
Python Version: 3.8.6
|
I see then there could be a problem with the To update this settings/configuration please check this out. |
Unfortunately it didn't help, the error remains the same :( https://prnt.sc/us31x7 https://prnt.sc/us33dt |
Very strange, somehow the path is not read accessible from nodejs code, to dig further could you share the log file Log file can be found here:
(optional) Also if you have nodejs installed locally, can run this chunk of code and see whats the console output you're getting? const fs = require("fs")
fs.accessSync("C:\Users\j\AppData\Local\Programs\Python\Python38-32\python", fs.constants.R_OK); |
const fs = require("fs")
console.log(fs.existsSync("C:\\Users\\j\\AppData\\Local\\Programs\\Python\\Python38-32\\python", fs.constants.R_OK));
const fs = require("fs")
console.log(fs.existsSync("C:\\Users\\j\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe", fs.constants.R_OK));
It seems that it helped to add .exe to the end, but there is another issue, which I believe is for idf:
|
I think maybe try once with release version and not Also could you share the output for |
It was missing :-) however now the problem changed, the required packages are installed (I installed them manually) and it still complains that they are missing: also i'm on
|
I am unable to replicate this in my windows installation, maybe can you run the onboarding once again? |
I did, it didn't help. However I tried to go through whole process again on my laptop and it seems that there it works well. I also tried on my laptop to clone |
Ya so as you spotted that So make sure that onboarding is finished successfully, and after that verify that You can read more about onboarding process here. |
OK, so I cleaned my computer, reinstalled python to
|
Windows we have multiple shells namely Now to check if environment is set correctly from vscode side is to run Also if the you see the error there as well, maybe try changing the default terminal to cmd! |
ESP-IDF Terminal works well, I can run cmake from there. |
One more question, are you using PlatformIO extension too ? |
Yep. |
Possible Duplicate of #190 |
Closing since original issue is fixed by the user. Conversation about PlatformIO extension conflict should be discussed in #190 |
@jirizaj Can you please share which version of Python did you use ? I can't reproduce this on Windows 10 with Python 3.8 |
It was 3.8.6, I use PlatformIO |
Have you tried using onboarding with PlatformIO being disabled ? We have many users reported some conflicts and the fix is still under review. |
Sorry for the late response, I tested it right now and it works wit PlatformIO disabled. |
Describe the bug
During onboarding, in the step "Verify ESP-IDF Tools", after clicking on "Click here to check tools exists." I'm notified that python is not accesible.
C:\Users\j\AppData\Local\Programs\Python\Python38-32\python is not accesible.
Even leaving predefined "python" from a step before ("Verify ESP-IDF Tools") results inpython is not accesible.
The python is installed and working, I tested that by running it in cmd.To Reproduce
Make clean installation of the plugin in VSCode.
Expected behavior
Python should be accessible.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: