AmbiqAI / neuralSPOT

NeuralSPOT is Ambiq's AI SDK and Toolkit
https://ambiq.com
BSD 3-Clause "New" or "Revised" License
24 stars 6 forks source link

"python setup.py install" failed. VC++ error occured #173

Open MeteoorLiu opened 1 month ago

MeteoorLiu commented 1 month ago

I want to install eRPC and neuralSPOT RPC. As the tutorial "Application-Note-neuralSPOT-and-Windows.md" mentioned, I run the command "python setup.py install". But I run into the following errors: " _mysql.c(42): fatal error C1083: 无法打开包括文件: “config-win.h”: No such file or directory" and "error: command 'D:\Softwares\Microsoft Visual Studio 2019\Community\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe' failed with exit code 2". Why c++ compiler is needed to install a python package? How to fix this error? Am I need to reinstall my visual studio? I run these commands in my git bash. python is 3.10. Arm toolchain, SEGGER Jlink and GNU Make are already installed