gpt4 book ai didi

perl - cpan 错误 : Unable to get Terminal Size. Win32 GetConsoleScreenBufferInfo 调用不起作用

转载 作者:行者123 更新时间:2023-12-03 17:03:28 24 4
gpt4 key购买 nike

ActiveState Perl - Windows 10 上的 5.26 - 64 位。

当我尝试从 CMD 启动 cpan 时 - 我看到以下错误:

C:\Users\orenm>cpan
Unable to get Terminal Size. The Win32 GetConsoleScreenBufferInfo call didn't work. The COLUMNS and LINES environment variables didn't work. at C:\Perl64\lib/Term/ReadLine/readline.pm line 410.

为什么会发生?
我该怎么办?

最佳答案

它试图找出您的终端大小。您可以使用“哑”终端。

set TERM=dumb

将消除警告。

关于perl - cpan 错误 : Unable to get Terminal Size. Win32 GetConsoleScreenBufferInfo 调用不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54324750/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com