install_driver(SQLite) failed: Can't locate DBD/SQLite.pm

install_driver(SQLite) failed: Can’t locate DBD/SQLite.pm in @INC (you may need to install the DBD::SQLite module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 42) line 3.
Perhaps the DBD::SQLite perl module hasn’t been fully installed,
or perhaps the capitalisation of ‘SQLite’ isn’t right.

這是缺少perl模塊的報錯

我這裏提示我缺少的是 SQLite 所以下 SQLite 具體下載什麼看提示

執行需要root權限

perl -MCPAN -e shell
install DBD::SQLite
exit
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章