问题
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]
回答1:
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).
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.
来源:https://stackoverflow.com/questions/47353189/cant-locate-dbi-pm-in-inc-you-may-need-to-install-the-dbi-module