开发者
资源
perl报错:无法正常运行使用cpan(Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters. )
perl报错:无法正常运行使用cpan(Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters. )
发表于2023/07/05
1990

【问题背景】perl语言在生科领域的应用非常之广泛,我们通常需要部署perl后使用cpan管理工具进行模块下载。

【问题描述】单独执行cpan命令时报错误Sorry, we have to rerun the configuration dialog for CPAN.pm due to some missing parameters.

cpan1.JPG

【问题根因】在使用exagear二进制工具转到X86环境时,cpan没有配置可用镜像源。

【处理办法】进入cpan时按回车到配置镜像选项时添加http://mirrors.163.com/cpan/回车,接下来按照步骤进行,等待完成即可正常使用cpan。

cpan2.JPG

【END】

如有疑问,欢迎评论区留言讨论~

收藏举报
Level 1
0
帖子
0
粉丝
0
获赞