RuntimeError: Broken toolchain: cannot link a simple C program.

pip 安装 audio2numpy 报错

File "numpy/core/setup.py", line 758, in get_mathlib_info
        raise RuntimeError(
    RuntimeError: Broken toolchain: cannot link a simple C program.

虽然 which gcc 可以看到 gcc 在 /usr/bin/gcc。anyway 重装一下

sudo apt-get install gcc

然后升级一下 pip

sudo pip3 install --upgrade pip 

就可以正常安装了

python3 -m pip install audio2numpy
posted @ 2022-10-05 23:43  水郁  阅读(705)  评论(0编辑  收藏  举报
……