gpt4 book ai didi

python - 环境变量中找不到mingw32-make

转载 作者:太空宇宙 更新时间:2023-11-03 15:46:39 28 4
gpt4 key购买 nike

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

enter image description here

最佳答案

PATH 是命令 which 在其中搜索程序名称 mingw32-make 以及系统在其中搜索程序的文件夹名称你运行它。但你把文件夹名称和程序名称放在最后。

您需要的是C:/.../mingw64/bin,而末尾不带mingw32-make

关于python - 环境变量中找不到mingw32-make,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41686697/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com