Skip to content

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

Open
@MeteoorLiu

Description

@MeteoorLiu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions