安装Alien :: XGBoost库时出错

时间:2017-09-05 19:03:22

标签: windows perl xgboost strawberry-perl

我无法在Windows 10上使用Strawberry Perl的默认安装来安装Alien::XGBoost库。我使用的是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'.

1 个答案:

答案 0 :(得分:3)

图书馆的作者刚刚确认这是一个错误。他的发言如下。我安装了以前的版本,它运行得很好。

  

感谢你报告这个!!
  这是一个错误!我忘了引用这条路   正如您所看到的,两个md命令的路径都是双引号(""),而不是复制命令。
  我正在努力解决这个问题,而且我将来也可以通过travis和appveyor集成来避免这种情况。
  本周末这将是固定的。同时请安装以前的版本:
  cpanm PABLROD/Alien-XGBoost-0.03.tar.gz