在@INC中找不到DBI.pm(您可能需要安装DBI模块) [英] Can't locate DBI.pm in @INC (you may need to install the DBI module)

查看:152
本文介绍了在@INC中找不到DBI.pm(您可能需要安装DBI模块)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要使用Defects4j数据集时,请遵循github页面:
https ://github.com/rjust/defects4j

I want to use the Defects4j dataset,when I do this follow the page of github: https://github.com/rjust/defects4j

$ defects4j checkout Lang
Can't locate DBI.pm in @INC
   (you may need to install the DBI module)
   (@INC contains:
   /c/Users/Liu Fang/defects4j/framework/lib
   /c/Users/Liu Fang/defects4j/framework
   /c/Users/Liu Fang/defects4j/framework/core
   /c/Users/Liu Fang/defects4j/framework/core
   /usr/lib/perl5/site_perl
   /usr/share/perl5/site_perl
   /usr/lib/perl5/vendor_perl
   /usr/share/perl5/vendor_perl 
   /usr/lib/perl5/core_perl
   /usr/share/perl5/core_perl .
   ) at /c/Users/Liu Fang/defects4j/framework/core/DB.pm line 43.

[添加了换行符以提高可读性]

[Added line breaks for readability]

推荐答案

DBI 是最常用的Perl数据库接口库。它不包括在标准Perl发行版中。因此,您将需要安装此模块(如错误消息所述)。

DBI is the most commonly-used Perl database interface library. It is not included as part of the standard Perl distribution. You will, therefore, need to install this module (as the error message says).

如果您更新问题以提供有关您的环境的更多信息(哪种操作系统,什么版本的Perl,如何安装Perl),我们将能够帮助您安装它。

If you update your question to give more information about your environment (what operating system, what version of Perl, how Perl was installed) then we will be able to help you install it.

这篇关于在@INC中找不到DBI.pm(您可能需要安装DBI模块)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆