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
发布了149 篇原创文章 · 获赞 14 · 访问量 8967

猜你喜欢

转载自blog.csdn.net/weixin_45485719/article/details/104958542