糟糕的翻译 [英] Bad interpreter
问题描述
我的python脚本有问题,
i chmod''到+ x,加上这行:
#!/ usr / bin / python2.3
我确认/usr/bin/python2.3存在
但我有类似的事情
:糟糕的翻译:没有这样的文件或目录...
有什么事吗?
Thanx
I''ve a problem whith my python script,
i chmod''ed it to +x, addes the line :
#!/usr/bin/python2.3
and i verified that /usr/bin/python2.3 exists
but i''ve something like
: bad interpreter: No such file or dir ...
What''s the matter ??
Thanx
推荐答案
BaBS写道:
BaBS wrote:
我的python脚本有问题,
我chmod' '把它编成+ x,加上这行:
#!/ usr / bin / python2.3
我确认/usr/bin/python2.3存在
但是我''像
这样的东西:糟糕的翻译:没有这样的文件或目录...
有什么问题?
I''ve a problem whith my python script,
i chmod''ed it to +x, addes the line :
#!/usr/bin/python2.3
and i verified that /usr/bin/python2.3 exists
but i''ve something like
: bad interpreter: No such file or dir ...
What''s the matter ??
通过将文件移动到Windows系统并进行编辑,删除
行末尾的隐藏CR字符。 ;-)
这个很难弄清楚前几次...
-Peter
Remove the hidden CR character which you got at the end of the
lines by moving the file to a Windows system and editing it. ;-)
This one is pretty tricky to figure out the first few times...
-Peter
Le Wed,2004年5月26日07:08:50 -0400,Peter Hansenaécrit*:
Le Wed, 26 May 2004 07:08:50 -0400, Peter Hansen a écrit*:
BaBS写道:
BaBS wrote:
我的python脚本有问题,
我chmod'到+ x,加上这行:
#!/ usr / bin / python2.3 <我确认/usr/bin/python2.3存在
但是我有类似
的东西:糟糕的翻译:没有这样的文件或目录...
>什么事???
I''ve a problem whith my python script,
i chmod''ed it to +x, addes the line :
#!/usr/bin/python2.3
and i verified that /usr/bin/python2.3 exists
but i''ve something like
: bad interpreter: No such file or dir ...
What''s the matter ??
通过将文件移动到Windows系统并编辑它来删除在
行末尾有的隐藏CR字符。 ;-)
这个很难弄清楚前几次...
-Peter
Remove the hidden CR character which you got at the end of the
lines by moving the file to a Windows system and editing it. ;-)
This one is pretty tricky to figure out the first few times...
-Peter
感谢您的提示,但是......我没有CR角色...
i使用记事本和editplus编辑我的文件,但不管是什么
它'同样的信息:/
-
Damien
Thanks for the tips but ... i don''t have CR Character ...
i edit my file with notepad and editplus but no matter what
It''s the same message :/
--
Damien
BaBS写道:
BaBS wrote:
Le Wed,2004年5月26日07:08:50 -0400,Peter Hansenaécrit:
Le Wed, 26 May 2004 07:08:50 -0400, Peter Hansen a écrit :
BaBS写道:
我'我的python脚本有问题,
我chmod'到+ x,加上线:
#!/ usr / bin / python2.3
我验证了/ usr / bin / python2.3存在
但我有点像
:糟糕的翻译:没有这样的文件或目录...
有什么问题? ?
I''ve a problem whith my python script,
i chmod''ed it to +x, addes the line :
#!/usr/bin/python2.3
and i verified that /usr/bin/python2.3 exists
but i''ve something like
: bad interpreter: No such file or dir ...
What''s the matter ??
通过将文件移动到Windows系统并编辑,删除
行末尾的隐藏CR字符它。 ;-)
这个很难弄清楚前几次...
Remove the hidden CR character which you got at the end of the
lines by moving the file to a Windows system and editing it. ;-)
This one is pretty tricky to figure out the first few times...
感谢您的提示,但是...我不知道有CR角色...
我用记事本和editplus编辑我的文件,但不管是什么
这是相同的消息:/
Thanks for the tips but ... i don''t have CR Character ...
i edit my file with notepad and editplus but no matter what
It''s the same message :/
它或者是/usr/bin/python2.3并不存在。
如果你键入/usr/bin/python2.3"在提示符下,
口译员是否正确出现?如果是这样,请尝试在不使用编辑器的情况下创建
新文件。在Linux下键入以下命令
It''s either that or /usr/bin/python2.3 doesn''t really exist.
If you type "/usr/bin/python2.3" at the prompt, does the
interpreter come up properly? If it does, try creating a
new file without using an editor. Type the commands below
at the Linux
这篇关于糟糕的翻译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!