【问题标题】:Error while installing Alien::XGBoost library安装 Alien::XGBoost 库时出错
【发布时间】:2018-02-14 03:33:25
【问题描述】:

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

【问题讨论】:

    标签: windows perl xgboost strawberry-perl


    【解决方案1】:

    该库的作者刚刚确认这是一个错误。他的声明如下。我安装了以前的版本,它运行良好。

    感谢您报告此问题!
    这是一个错误!我忘了引用路径。
    如您所见,两个 md 命令都有路径双引号 (""),但没有复制命令。
    我正在努力修复它,并且我将获得 travis 和 appveyor 集成以避免将来出现这种情况。
    本周末,这将得到解决。同时请安装之前的版本:
    cpanm PABLROD/Alien-XGBoost-0.03.tar.gz

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-08-03
      • 1970-01-01
      • 1970-01-01
      • 2015-12-17
      • 2019-01-12
      • 2019-11-14
      • 1970-01-01
      相关资源
      最近更新 更多