【问题标题】:mingw32-make can not be found in environment variables在环境变量中找不到mingw32-make
【发布时间】:2017-05-31 21:36:03
【问题描述】:

我想在我的 Windows 7 上使用 install xgboost。但在此之前,当我安装 MinGW-W64 时,它需要使用 make 命令,当我在我的 git bash 中键入 which mingw32-make 时,它说没有 @ 987654324@ 在我的 Path 中(尽管我在 Path 环境变量中给出了 mingw32-make 目录的地址)。那么有人可以帮我解决这个问题,或者至少提出一种在 ipython notebook 中使用 xgboost 的简单方法吗?

【问题讨论】:

  • PATH 用于文件夹名称 - 不适用于末尾带有程序名称的完整路径。您需要在PATH 中没有mingw32-make 的路径
  • @saeid-hedayati:将来,请尝试复制粘贴要添加到问题中的输出/代码文本。这样做比仅使用屏幕截图更容易搜索您的问题/回答。
  • @Grisha Levit 谢谢。适当注意:)

标签: python python-3.x ipython-notebook xgboost ming


【解决方案1】:

PATH 用于文件夹名称,其中命令which 正在搜索程序名称mingw32-make,并且当您运行它时系统正在搜索程序。但是你把文件夹名和程序名放在最后。

你需要C:/ ... /mingw64/bin,最后没有mingw32-make

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-12-27
    • 2020-06-11
    • 2016-07-11
    • 2013-04-17
    • 2015-11-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多