【发布时间】:2015-10-04 21:50:08
【问题描述】:
我正在使用命令提示符安装winrandom:
C:\ python -m pip install winrandom
我收到以下消息:
error: command 'gcc' failed: No such file or directory
---------------------------------------------------
Failed building wheel for winrandom
有谁知道为什么会发生这种情况以及解决方法?
【问题讨论】:
-
Gcc 是一个将 C 文件编译为可执行文件和库的编译器。它要么未安装在您的系统上,要么 PATH 环境变量未引用其中包含 gcc.exe 的目录。