【问题标题】:I'm trying to install winrandom using pip, but I keep getting an error我正在尝试使用 pip 安装 winrandom,但我不断收到错误消息
【发布时间】: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 的目录。

标签: python gcc import command


【解决方案1】:

如果可以的话,使用 Python 2.7,使用 executables 安装它。

【讨论】:

    猜你喜欢
    • 2023-03-15
    • 1970-01-01
    • 2020-03-07
    • 2021-08-30
    • 1970-01-01
    • 2011-10-26
    • 1970-01-01
    • 2020-01-21
    • 2013-08-06
    相关资源
    最近更新 更多