我在我的Windows64位机器上使用Activeperl,我想在Windows64位上使用expect.pm模块,但得到以下错误:
Can't locate Expect.pm in @INC (you may need to install the Expect module) (@INC contains: D:/Software/eclips/.metadata/.plugins/org.epic.debug 我已经用谷歌搜索过了,很多人说这个模块在Windows64位上是不支持的。有没有人可以指导我如何安装它,如果不是这样,我需要转移Linux环境吗?
发布于 2015-06-12 20:54:32
根据CPAN的说法,在Windows中工作的唯一方法是通过Cygwin。
这似乎是由于对IO:tty的依赖,后者也有同样的建议通过Cygwin使用它。
发布于 2015-06-12 22:33:05
它不能在Windows上运行。Expect会创建一个伪tty,试图诱骗子程序不对其输出进行缓冲。Windows没有tty。
https://stackoverflow.com/questions/30803190
复制相似问题