Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Where to set the python path in VS17 & vMicro? (Read 2043 times)
drs
Junior Member
**
Offline


Posts: 26
Joined: Mar 20th, 2018
Where to set the python path in VS17 & vMicro?
Jul 5th, 2019 at 10:11am
Print Post  
Hallo,
since new update I get an error when compiling arduino project:
Code
Select All
Process: ools\python\python.exe" ools/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
Select All
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
 
Tim@Visual Micro
Administrator
*****
Offline


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


Posts: 26
Joined: Mar 20th, 2018
Re: Where to set the python path in VS17 & vMicro?
Reply #2 - Jul 5th, 2019 at 10:41am
Print Post  
What you mean?
I need to know how to change the python path since that not correct.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where to set the python path in VS17 & vMicro?
Reply #3 - Jul 5th, 2019 at 11:45am
Print Post  
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: 26
Joined: Mar 20th, 2018
Re: Where to set the python path in VS17 & vMicro?
Reply #4 - Jul 7th, 2019 at 2:33pm
Print Post  
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
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where to set the python path in VS17 & vMicro?
Reply #5 - Jul 7th, 2019 at 2:43pm
Print Post  
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 TopicPrint