gpt4 book ai didi

windows - 安装 Alien::XGBoost 库时出错

转载 作者:可可西里 更新时间:2023-11-01 11:24:11 27 4
gpt4 key购买 nike

我无法安装 Alien::XGBoost在 Windows 10 上使用默认安装的 Strawberry Perl 库。我使用的是 64 位版本的 Strawberry Perl。

安装 Alien::XGBoost 时,我在 Alien/Build/CommandSequence.pm 文件的第 49 行收到错误,如下所示。

gmake[1]: Leaving directory 'C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/_alien/build_wYwS'
Alien::Build::CommandSequence> + md "C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/dynamic"
Alien::Build::CommandSequence> + md "C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/bin"
Alien::Build::CommandSequence> + copy xgboost.exe C:/STRAWB~1/cpan/build/Alien-XGBoost-0.04-1/blib/lib/auto/share/dist/Alien-XGBoost/bin/
The syntax of the command is incorrect.
external command failed at C:/Strawberry/perl/site/lib/Alien/Build/CommandSequence.pm line 49.
gmake: *** [Makefile:2881: _alien/mm/build] Error 2
PABLROD/Alien-XGBoost-0.04.tar.gz
C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
Stopping: 'install' failed for 'Alien::XGBoost'.

最佳答案

图书馆的作者刚刚确认这是一个错误。他的声明如下。我安装了以前的版本并且运行良好。

Thanks for reporting this!!
It's a bug! I forgot to quote the path.
As you can see both md commands have the path double quoted (""), but not the copy command.
I'm working to fix it and also I'm going to get travis and appveyor integrations to avoid this in the future.
This weekend this will be fixed. Meanwhile please install the previous version:
cpanm PABLROD/Alien-XGBoost-0.03.tar.gz

关于windows - 安装 Alien::XGBoost 库时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46061725/

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