Can't exec No such file or directory [英] Can't exec No such file or directory

查看:47
本文介绍了Can't exec No such file or directory的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

祝大家圣诞快乐.我在使用 perl 脚本时遇到了困境.在我的脚本中,我使用系统调用调用了另一个程序,但出现了以下错误:

Merry Christmas to everybody. I'm having a dilemma with a perl script. In my script, I call another program with a system call, but I got this error:

无法执行./Classificador/svm_classify":在 Analise_de_Sentimentos_mudanca.pl 第 463 行没有这样的文件或目录.

Can't exec "./Classificador/svm_classify": No such file or directory at Analise_de_Sentimentos_mudanca.pl line 463.

我不知道将我的程序放在与被调用程序不同的目录中是否有问题.

I don't know if there is a problem in having my program in a different directory than the called program.

另一个奇怪的是,这个脚本过去在 Ubuntu 10.10 中可以正常运行.但是现在我改成了 Mint 14.是不是缺少一些库?

Another curious thing is that this script used to run normally in Ubuntu 10.10. But now I've changed to Mint 14. Is it missing some library?

最好的祝福,

蒂亚戈

推荐答案

这个./Classificador/svm_classify"是否存在?检查以下内容:

Does this "./Classificador/svm_classify" exists ? Check the following :

1) 转到该文件所在的目录 - Analise_de_Sentimentos_mudanca.pl

1) to go the directory where this file lays - Analise_de_Sentimentos_mudanca.pl

2) 运行:

ll Classificador/svm_classify

3) 向我们展示结果

这篇关于Can't exec No such file or directory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆