Can't locate DBI.pm in @INC (you may need to install the DBI module) [duplicate]

拟墨画扇 提交于 2019-12-02 17:07:16

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!