Hello,
When I try to install the Edge Impulse CLI on my Windows 10 machine, I get an error. I’ve tried installing it from a DOS command prompt running as an administrator and have tried installing it via VS Code terminal and I keep getting the same error.
I did find this thread in the Edge Impulse forum which describes the same problem, but haven’t been able to get any details on how to set the proxy which is the suggested solution.
Hi Tarun,
Thank you for the feedback. I’ve got Visual Studio installed and PlatformIO installed, but when I run the command, npm install -g edge-impulse-cli, from the terminal window, I am still getting a bunch of errors. See the screenshot below.
I looked in the install log file and can see that the failure is occurring near the very end of the install process. I am new to Node.js and Python so don’t understand most of the information in the log, but I am thinking that the root of the problem has to do with trying to install the serial port package: verbose pkgid @serialport/bindings@8.0.8
Searching on error msb8036 led me to this Microsoft page . Is it possible that the install scripts that is invoking MSBuild is passing an invalid value for the WindowsTargetPlatformVersion?
FYI - installing the latest Windows SDK as suggested in the link in the previous post did not fix the problem. Here’s the result of retrying npm install -g edge-impulse-cli --force after installing the latest SDK.
Hi @shawn_edgeimpulse
Thanks for the response. I am running the most recent Visual Studio Code which is 1.76.2.
From a little internet searching, I believe that Visual Studio Code 2019 is version 1.31.
If I understand you correctly, in order to be able to complete the Edge Impulse CLI installation in VS Code, I’ll need to uninstall my current VS Code, then download and install version 1.31, correct?
Hi @shawn_edgeimpulse
Well, I uninstalled VS Code 1.76 and installed version 1.31 and I am still getting the same error when I try to install the edge-impulse-cli using the following command: npm install -g edge-impulse-cli
Hi
as I already shared that you need to install visual studio, not (VS Code).
after installing Visual studio and then installing its c library then it will work.
try it out. the same problem I had faced earlier.
Hi @Tarun.ece , thank you for clarifying that its Visual Studio I need. What version did you install? I ask because I just installed the latest version (2022) of Community Edition, but I just saw there is also a 2019 version.
Also I wasn’t sure what you meant by installing the C library. I selected the C++ library option when doing the initial install. I did not see anything specific to just the C libraries.
Hi @Tarun.ece
Yes, after installing the latest version of Visual Studio Community Edition, I was able to successfully install the Edge Impulse CLI on my Windows machine.
heyy!
I also get same error
I download the Visiual Studio and add c++ & node.js library, after that what exactly i need do to install edge impulse cli
can you please describe the steps?