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.
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 @email@example.com
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.
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
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.