Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Where to set the python path in VS17 & vMicro? (Read 327 times)
drs
Junior Member
**
Offline



Posts: 24
Where to set the python path in VS17 & vMicro?
Jul 5th, 2019 at 11:11am
 
Hallo,
since new update I get an error when compiling arduino project:
Code:
Process: "C:\Users\TEST\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.5.2\tools\python\python.exe" "C:\Users\TEST\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/makecorever.py" --build_path "C:\Users\TEST\AppData\Local\Temp\VMBuilds\ESP_WiFi\esp8266_d1_mini\Release" --platform_path "C:\Users\TEST\AppData\Local\arduino15\packages\esp8266\hardware\esp8266\2.5.2" --version "unix-2.5.2"
System cannot find File ...
 



Where to set the python path? Because its seems wrong:
Code:
runtime.tools.python={runtime.platform.path}/tools/python/python.exe
runtime.tools.python.windows={runtime.platform.path}/tools/python/python.exe
 



Thanx
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Where to set the python path in VS17 & vMicro?
Reply #1 - Jul 5th, 2019 at 11:39am
 
Please follow the guide in yellow at the top of this page
Back to top
 
WWW  
IP Logged
 
drs
Junior Member
**
Offline



Posts: 24
Re: Where to set the python path in VS17 & vMicro?
Reply #2 - Jul 5th, 2019 at 11:41am
 
What you mean?
I need to know how to change the python path since that not correct.

Rgds
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Where to set the python path in VS17 & vMicro?
Reply #3 - Jul 5th, 2019 at 12:45pm
 
Please do as I ask. The python path is set by the tool chain. when you install the tool chain you install whatever it uses.

So we will look at what you have installed and recommend the right solution but only if you provide the requested information.

There is one entry in the release notes that states you need to have the tool chain installed (index.json) otherwise tool chains discovered on disc are ignored. This falls in line with how the arduino ide works. It might just be a simple matter of ensuring you have the tool chain installed correctly.

Please ALWAYS supply the request info with compile and upload reports. It saves a lot of time and keeps costs down.
Back to top
 
WWW  
IP Logged
 
drs
Junior Member
**
Offline



Posts: 24
Re: Where to set the python path in VS17 & vMicro?
Reply #4 - Jul 7th, 2019 at 3:33pm
 
Aha, ok....next time ... thanks.
I copied the python stuff into the directory and now its working. Don't know why I did not recognize earlier that tools/python directory is missing. Seems that only required for new projects.

Rgds
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10617
United Kingdom
Re: Where to set the python path in VS17 & vMicro?
Reply #5 - Jul 7th, 2019 at 3:43pm
 
Thanks for the update but I am sorry, none of this makes sense. Users never need to install python and the tool chain path is not stored in a project unless you have overridden it with settings in a local board.txt. Visual Micro does not know that python is being used it just uses what is installed when you install boards using Board Manager or install manually into sketchBook\Hardware.

If you have any other issues I will need to see the full build output as described in yellow at the top of this page. That way we can actually see what type of configuration you are using. Without all that it will always be a mystery.
Back to top
 
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print